mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-12 08:08:02 +00:00
ref_gl: fix late studio cvars registration, enable DrawRangeElements in GLES contexts
This commit is contained in:
parent
73087ead2d
commit
c765261db6
@ -720,6 +720,9 @@ void GL_InitExtensionsGLES( void )
|
||||
case GL_ARB_VERTEX_ARRAY_OBJECT_EXT:
|
||||
GL_CheckExtension( "vertex_array_object", vaofuncs, "gl_vertex_array_object", extid );
|
||||
break;
|
||||
case GL_DRAW_RANGEELEMENTS_EXT:
|
||||
GL_CheckExtension( "draw_range_elements", drawrangeelementsfuncs, "gl_drawrangeelements", extid );
|
||||
break;
|
||||
#endif
|
||||
case GL_DEBUG_OUTPUT:
|
||||
if( glw_state.extended )
|
||||
|
@ -146,8 +146,6 @@ R_StudioInit
|
||||
*/
|
||||
void R_StudioInit( void )
|
||||
{
|
||||
gEngfuncs.Cvar_RegisterVariable( &r_studio_sort_textures );
|
||||
gEngfuncs.Cvar_RegisterVariable( &r_studio_drawelements );
|
||||
|
||||
#if XASH_PSVITA
|
||||
// don't do the same array-building work twice since that's what our FFP shim does anyway
|
||||
|
Loading…
Reference in New Issue
Block a user