- 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
|
|
@ -226,7 +226,7 @@ bool FRenderState::ApplyShader()
|
|||
}
|
||||
else
|
||||
{
|
||||
FSpecialColormap *scm = &SpecialColormaps[gl_fixedcolormap - CM_FIRSTSPECIALCOLORMAP];
|
||||
FSpecialColormap *scm = &SpecialColormaps[mColormapState - CM_FIRSTSPECIALCOLORMAP];
|
||||
float m[] = { scm->ColorizeEnd[0] - scm->ColorizeStart[0],
|
||||
scm->ColorizeEnd[1] - scm->ColorizeStart[1], scm->ColorizeEnd[2] - scm->ColorizeStart[2], 0.f };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue