diff -r 667fb58d7f18 -r 5164d17b6374 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Fri Sep 16 17:36:05 2011 +0200 +++ b/hedgewars/uStore.pas Fri Sep 16 18:17:16 2011 +0200 @@ -982,6 +982,7 @@ end else begin + SetScale(cDefaultZoomLevel); {$IF DEFINED(DARWIN) OR DEFINED(WIN32)} reinit:= true; {$ENDIF} @@ -991,7 +992,13 @@ end; // these attributes must be set up before creating the sdl window +{$IFNDEF WIN32} +(* On a large number of testers machines, SDL default to software rendering when opengl attributes were set. + These attributes were "set" after CreateWindow in .15, which probably did nothing. + IMO we should rely on the gl_config defaults from SDL, and use SDL_GL_GetAttribute to possibly post warnings if any + bad values are set. *) SetupOpenGLAttributes(); +{$ENDIF} {$IFDEF SDL13} // these values in x and y make the window appear in the center x:= SDL_WINDOWPOS_CENTERED_MASK;