From b1457e1f0ef8ccf219a2e65324b90b75066b7ed1 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 --- gl_rmain.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gl_rmain.c b/gl_rmain.c index 6cbc83df..8fd9447d 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -3840,6 +3840,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); @@ -3863,14 +3864,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