ref_gl: fix late studio cvars registration, enable DrawRangeElements in GLES contexts

This commit is contained in:
mittorn
2023-10-06 01:14:48 +03:00
committed by Alibek Omarov
parent 73087ead2d
commit c765261db6
2 changed files with 3 additions and 2 deletions

View File

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