equal
deleted
inserted
replaced
1217 AddFileLog('Freeing old primary surface...'); |
1217 AddFileLog('Freeing old primary surface...'); |
1218 {$ENDIF} |
1218 {$ENDIF} |
1219 end; |
1219 end; |
1220 |
1220 |
1221 // these attributes must be set up before creating the sdl window |
1221 // these attributes must be set up before creating the sdl window |
1222 {$IFNDEF WIN32} |
1222 {$IFNDEF WINDOWS} |
1223 (* On a large number of testers machines, SDL default to software rendering |
1223 (* On a large number of testers machines, SDL default to software rendering |
1224 when opengl attributes were set. These attributes were "set" after |
1224 when opengl attributes were set. These attributes were "set" after |
1225 CreateWindow in .15, which probably did nothing. |
1225 CreateWindow in .15, which probably did nothing. |
1226 IMO we should rely on the gl_config defaults from SDL, and use |
1226 IMO we should rely on the gl_config defaults from SDL, and use |
1227 SDL_GL_GetAttribute to possibly post warnings if any bad values are set. |
1227 SDL_GL_GetAttribute to possibly post warnings if any bad values are set. |