Browse Source

ref: gl: psvita: force-enable NPOT textures

pull/2/head
fgsfds 1 year ago committed by Alibek Omarov
parent
commit
9cf6e421cb
  1. 5
      ref/gl/gl_opengl.c

5
ref/gl/gl_opengl.c

@ -751,6 +751,11 @@ void GL_InitExtensionsBigGL( void ) @@ -751,6 +751,11 @@ void GL_InitExtensionsBigGL( void )
// this won't work without extended context
if( glw_state.extended )
GL_CheckExtension( "GL_ARB_debug_output", debugoutputfuncs, "gl_debug_output", GL_DEBUG_OUTPUT );
#if XASH_PSVITA
// NPOT textures are actually supported, but the extension is not listed in GL_EXTENSIONS
GL_SetExtension( GL_ARB_TEXTURE_NPOT_EXT, true );
#endif
}
#endif

Loading…
Cancel
Save