hedgewars/uStore.pas
changeset 14204 3c36a4e66c82
parent 14196 a1178e1b57a6
child 14646 7de65fa1f686
child 15334 35e976e48b0b
equal deleted inserted replaced
14203:73c5ba3aac45 14204:3c36a4e66c82
  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.