- moved GLEXT API out of RenderContext struct.

This commit is contained in:
Christoph Oelckers 2013-09-03 18:29:39 +02:00
commit 2885056f46
35 changed files with 384 additions and 353 deletions

View file

@ -368,9 +368,9 @@ void GLWall::DrawDecal(DBaseDecal *decal)
if (glset.lightmode == 8)
{
if (gl_fixedcolormap)
gl.VertexAttrib1f(VATTR_LIGHTLEVEL, 1.0);
glVertexAttrib1f(VATTR_LIGHTLEVEL, 1.0);
else
gl.VertexAttrib1f(VATTR_LIGHTLEVEL, gl_CalcLightLevel(light, rel, false) / 255.0);
glVertexAttrib1f(VATTR_LIGHTLEVEL, gl_CalcLightLevel(light, rel, false) / 255.0);
}
}
else