@@ -575,25 +575,25 @@ static const ScreenshotFormat _screensho
/** Get filename extension of current screenshot file format. */
const char *GetCurrentScreenshotExtension()
{
return _screenshot_formats[_cur_screenshot_format].extension;
}
/** Initialize screenshot format information on startup, with #_screenshot_format_name filled from the loadsave code. */
void InitializeScreenshotFormats()
uint j = 0;
for (uint i = 0; i < lengthof(_screenshot_formats); i++) {
if (_screenshot_format_name.compare(_screenshot_formats[i].extension) != 0) {
if (_screenshot_format_name.compare(_screenshot_formats[i].extension) == 0) {
j = i;
break;
_cur_screenshot_format = j;
_num_screenshot_formats = lengthof(_screenshot_formats);
/**
* Callback of the screenshot generator that dumps the current video buffer.
* @see ScreenshotCallback
*/
Status change: