ref: gl: remove hidden parm -gl-allow-vbo-dontuse needed to activate VBO renderer
This commit is contained in:
parent
e8409cee8b
commit
b290046503
1 changed files with 1 additions and 1 deletions
|
@ -1870,7 +1870,7 @@ void R_GenerateVBO( void )
|
||||||
R_ClearVBO();
|
R_ClearVBO();
|
||||||
|
|
||||||
// we do not want to write vbo code that does not use multitexture
|
// 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 );
|
gEngfuncs.Cvar_FullSet( "gl_vbo", "0", FCVAR_READ_ONLY );
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue