hedgewars/uStore.pas
branch0.9.12
changeset 2557 3c0b8b6bee20
parent 2452 a6edc408a376
equal deleted inserted replaced
2554:c4eec668583d 2557:3c0b8b6bee20
   991 {$IFDEF DEBUGFILE}
   991 {$IFDEF DEBUGFILE}
   992 AddFileLog('GL_MAX_TEXTURE_SIZE: ' + inttostr(MaxTextureSize));
   992 AddFileLog('GL_MAX_TEXTURE_SIZE: ' + inttostr(MaxTextureSize));
   993 {$ENDIF}
   993 {$ENDIF}
   994 
   994 
   995 {$IFNDEF IPHONEOS}
   995 {$IFNDEF IPHONEOS}
   996 SupportNPOTT:= glLoadExtension('GL_ARB_texture_non_power_of_two');
   996 //SupportNPOTT:= glLoadExtension('GL_ARB_texture_non_power_of_two');
   997 {$ENDIF}
   997 {$ENDIF}
   998 
   998 
   999 // set view port to whole window
   999 // set view port to whole window
  1000 glViewport(0, 0, cScreenWidth, cScreenHeight);
  1000 glViewport(0, 0, cScreenWidth, cScreenHeight);
  1001 
  1001