Fix thumbnails. On some OpenGL implementations they weren't working.
--- a/hedgewars/uVideoRec.pas Sat Jul 07 17:43:10 2012 +0400
+++ b/hedgewars/uVideoRec.pas Sat Jul 07 19:17:50 2012 +0400
@@ -253,8 +253,6 @@
RecPrefix:= FormatDateTime('YYYY-MM-DD_HH-mm-ss', Now());
thumbnailSaved:= false;
- if (not (gameState in [gsLandGen, gsStart])) and (ScreenFade = sfNone) then
- SaveThumbnail();
Mix_QuerySpec(@frequency, @format, @channels);
AddFileLog('sound: frequency = ' + IntToStr(frequency) + ', format = ' + IntToStr(format) + ', channels = ' + IntToStr(channels));
@@ -307,9 +305,6 @@
Close(cameraFile);
Mix_SetPostMix(nil, nil);
SDL_UnlockAudio();
-
- if (not thumbnailSaved) then
- SaveThumbnail();
end;
procedure SaveCameraPosition;