mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
ref: gl: psvita: force-enable NPOT textures
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user