hedgewars/uStore.pas
changeset 5883 a6d764786905
parent 5847 9fd9d159ca32
child 5932 5164d17b6374
child 6021 652a199d4f38
--- a/hedgewars/uStore.pas	Mon Sep 12 16:51:45 2011 -0400
+++ b/hedgewars/uStore.pas	Mon Sep 12 19:30:18 2011 -0400
@@ -992,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;