equal
deleted
inserted
replaced
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 |