From 02e74e70223c9351b676f33eb53b47957909e852 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Wed, 26 May 2021 20:00:28 +0300 Subject: [PATCH] switch: enable r_vbo_dlightmode by default --- ref_gl/gl_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref_gl/gl_opengl.c b/ref_gl/gl_opengl.c index 80c89e25..4c1cf2e8 100644 --- a/ref_gl/gl_opengl.c +++ b/ref_gl/gl_opengl.c @@ -884,7 +884,7 @@ static void R_CheckVBO( void ) if( glConfig.max_texture_units < 3 ) disable = true; -#ifdef XASH_MOBILE_PLATFORM +#if defined XASH_MOBILE_PLATFORM && !defined XASH_NSWITCH // VideoCore4 drivers have a problem with mixing VBO and client arrays // Disable it, as there is no suitable workaround here if( Q_stristr( glConfig.renderer_string, "VideoCore IV" ) || Q_stristr( glConfig.renderer_string, "vc4" ) )