diff -r 3c65326bb713 -r 3602ede67ec5 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sat Apr 09 15:54:28 2011 -0400 +++ b/hedgewars/uStore.pas Sun Apr 10 20:24:25 2011 +0400 @@ -943,8 +943,11 @@ glMatrixMode(GL_PROJECTION); glLoadIdentity(); {$ELSE} - SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, cBits, flags); - SDLTry(SDLPrimSurface <> nil, true); + if not cOnlyStats then + begin + SDLPrimSurface:= SDL_SetVideoMode(cScreenWidth, cScreenHeight, cBits, flags); + SDLTry(SDLPrimSurface <> nil, true); + end; {$ENDIF} AddFileLog('Setting up OpenGL (using driver: ' + shortstring(SDL_VideoDriverName(buf, sizeof(buf))) + ')');