pass softlightlevel through render state.

This commit is contained in:
Christoph Oelckers 2014-05-12 00:13:19 +02:00
commit 98cc7eeb99
13 changed files with 45 additions and 94 deletions

View file

@ -593,7 +593,7 @@ void FGLRenderer::FillSimplePoly(FTexture *texture, FVector2 *points, int npoint
FColormap cm;
cm = colormap;
gl_SetColor(lightlevel, 0, &cm, 1.f);
gl_SetColor(lightlevel, 0, cm, 1.f);
gltexture->Bind();