| 532 | } |
| 533 | |
| 534 | static ETextureHashFrequency GetTextureHashFrequencyFromFrames( u32 frames ) |
| 535 | { |
| 536 | for( u32 i = 0; i < NUM_THF; ++i ) |
| 537 | { |
| 538 | if( frames <= gTextureHashFreqeuncies[ i ] ) |
| 539 | { |
| 540 | return ETextureHashFrequency( i ); |
| 541 | } |
| 542 | } |
| 543 | |
| 544 | return THF_EVERY_32; // Return the maximum |
| 545 | } |
| 546 | |
| 547 | const char * Preferences_GetTextureHashFrequencyDescription( ETextureHashFrequency thf ) |
| 548 | { |
no test coverage detected