| 355 | void UI_Load(void); |
| 356 | |
| 357 | static int UI_GetScreenshotFormatForString( const char *str ) { |
| 358 | if ( !Q_stricmp(str, "jpg") || !Q_stricmp(str, "jpeg") ) |
| 359 | return SSF_JPEG; |
| 360 | else if ( !Q_stricmp(str, "tga") ) |
| 361 | return SSF_TGA; |
| 362 | else if ( !Q_stricmp(str, "png") ) |
| 363 | return SSF_PNG; |
| 364 | else |
| 365 | return -1; |
| 366 | } |
| 367 | |
| 368 | static const char *UI_GetScreenshotFormatString( int format ) |
| 369 | { |
no test coverage detected