From 34138fbbd2d271fd642ef2ef8205ff99dcc46f6b Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 1 Apr 2011 09:08:39 +0000 Subject: [PATCH] enable gloss texture loading in GLES2 path git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11001 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=b1457e1f0ef8ccf219a2e65324b90b75066b7ed1 --- gl_rmain.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 4795d64a..509d69f8 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3824,6 +3824,7 @@ void gl_main_start(void) case RENDERPATH_D3D10: case RENDERPATH_D3D11: case RENDERPATH_SOFT: + case RENDERPATH_GLES2: Cvar_SetValueQuick(&r_textureunits, vid.texunits); Cvar_SetValueQuick(&gl_combine, 1); Cvar_SetValueQuick(&r_glsl, 1); @@ -3847,14 +3848,6 @@ void gl_main_start(void) r_loadgloss = false; r_loadfog = true; break; - case RENDERPATH_GLES2: - Cvar_SetValueQuick(&r_textureunits, 1); - Cvar_SetValueQuick(&gl_combine, 1); - Cvar_SetValueQuick(&r_glsl, 1); - r_loadnormalmap = true; - r_loadgloss = false; - r_loadfog = false; - break; } R_AnimCache_Free(); -- 2.39.2