# HG changeset patch # User Stepan777 # Date 1341674270 -14400 # Node ID 09af8bc9181fa4c7d7a418b02a2a65a957f70a36 # Parent b73d7688dadc4378f4f64ad31c59def2259e13b9 Fix thumbnails. On some OpenGL implementations they weren't working. diff -r b73d7688dadc -r 09af8bc9181f hedgewars/uVideoRec.pas --- 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;