Skip to content

Commit

Permalink
ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate …
Browse files Browse the repository at this point in the history
…VBO renderer
  • Loading branch information
a1batross committed Dec 15, 2023
1 parent 4b0bb95 commit 581b863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ref/gl/gl_rsurf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1870,7 +1870,7 @@ void R_GenerateVBO( void )
R_ClearVBO();

// we do not want to write vbo code that does not use multitexture
if( !GL_Support( GL_ARB_VERTEX_BUFFER_OBJECT_EXT ) || !GL_Support( GL_ARB_MULTITEXTURE ) || glConfig.max_texture_units < 2 || !gEngfuncs.Sys_CheckParm("-gl-allow-vbo-dontuse") )
if( !GL_Support( GL_ARB_VERTEX_BUFFER_OBJECT_EXT ) || !GL_Support( GL_ARB_MULTITEXTURE ) || glConfig.max_texture_units < 2 )
{
gEngfuncs.Cvar_FullSet( "gl_vbo", "0", FCVAR_READ_ONLY );
return;
Expand Down

0 comments on commit 581b863

Please sign in to comment.