- moved gl_fixedcolormap into GLSceneDrawer.
This means that one of the most extensively used global variables is gone.
This commit is contained in:
parent
61c91f05fc
commit
4c61048278
24 changed files with 184 additions and 199 deletions
|
|
@ -437,7 +437,7 @@ void F2DDrawer::Draw()
|
|||
|
||||
FColormap cm;
|
||||
cm = dsp->mColormap;
|
||||
gl_SetColor(dsp->mLightLevel, 0, cm, 1.f);
|
||||
gl_SetColor(dsp->mLightLevel, 0, false, cm, 1.f);
|
||||
gl_RenderState.SetMaterial(dsp->mTexture, CLAMP_NONE, 0, -1, false);
|
||||
gl_RenderState.SetObjectColor(dsp->mFlatColor|0xff000000);
|
||||
gl_RenderState.Apply();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue