hedgewars/uStore.pas
changeset 14199 3c36a4e66c82
parent 14191 a1178e1b57a6
child 14641 7de65fa1f686
child 15329 35e976e48b0b
equal deleted inserted replaced
14198:73c5ba3aac45 14199: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.