mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- used the wrong formula to calculate shadeDiv.
This commit is contained in:
parent
d464017363
commit
7ec8368688
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ void GLInstance::SetPalette(int index)
|
|||
void GLInstance::SetPalswap(int index)
|
||||
{
|
||||
palmanager.BindPalswap(index);
|
||||
renderState.ShadeDiv = shadediv[index] == 0 ? 1.f / (renderState.NumShades) : shadediv[index];
|
||||
renderState.ShadeDiv = shadediv[index] == 0 ? 1.f / (renderState.NumShades - 2) : shadediv[index];
|
||||
}
|
||||
|
||||
void GLInstance::DrawImGui(ImDrawData* data)
|
||||
|
|
Loading…
Reference in a new issue