mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 15:21:44 +00:00
Apply gl_overbrightbits only to full lightmap chains.
I think / guess / *fingers crossed* that this fixes the different brightness levels between normal and multitexturing mode reported in #147.
This commit is contained in:
parent
f064c76eb2
commit
5f4d4e533f
1 changed files with 0 additions and 7 deletions
|
@ -195,13 +195,6 @@ R_DrawGLPolyChain(glpoly_t *p, float soffset, float toffset)
|
|||
return;
|
||||
}
|
||||
|
||||
if (gl_overbrightbits->value)
|
||||
{
|
||||
R_TexEnv(GL_COMBINE_EXT);
|
||||
R_SelectTexture(GL_TEXTURE1);
|
||||
glTexEnvi(GL_TEXTURE_ENV, GL_RGB_SCALE_EXT, gl_overbrightbits->value);
|
||||
}
|
||||
|
||||
glEnableClientState( GL_VERTEX_ARRAY );
|
||||
glEnableClientState( GL_TEXTURE_COORD_ARRAY );
|
||||
|
||||
|
|
Loading…
Reference in a new issue