ref: gl: psvita: force-enable NPOT textures

This commit is contained in:
fgsfds 2023-02-19 01:31:54 +01:00 committed by Alibek Omarov
parent 5c56b51044
commit 9cf6e421cb
1 changed files with 5 additions and 0 deletions

View File

@ -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