mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-02 10:14:42 +00:00
ref: gl: psvita: force-enable NPOT textures
This commit is contained in:
parent
5c56b51044
commit
9cf6e421cb
@ -751,6 +751,11 @@ void GL_InitExtensionsBigGL( void )
|
|||||||
// this won't work without extended context
|
// this won't work without extended context
|
||||||
if( glw_state.extended )
|
if( glw_state.extended )
|
||||||
GL_CheckExtension( "GL_ARB_debug_output", debugoutputfuncs, "gl_debug_output", GL_DEBUG_OUTPUT );
|
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
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user