2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 18:07:09 +01:00

ref: gl: VBO is disabled unless somebody picks it up and fixes memory corruption and other bugs

This commit is contained in:
Alibek Omarov 2022-12-08 06:50:12 +03:00
parent d50ed1c087
commit fd3c5e8384

View File

@ -1792,7 +1792,11 @@ void R_GenerateVBO( void )
R_ClearVBO();
// we do not want to write vbo code that does not use multitexture
#if ALLOW_VBO
if( !GL_Support( GL_ARB_VERTEX_BUFFER_OBJECT_EXT ) || !GL_Support( GL_ARB_MULTITEXTURE ) || glConfig.max_texture_units < 2 )
#else
if( 1 )
#endif
{
gEngfuncs.Cvar_FullSet( "gl_vbo", "0", FCVAR_READ_ONLY );
return;