mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-23 20:01:18 +00:00
- fixed: hictint must not be enabled if the flags are 0.
This commit is contained in:
parent
37443f2365
commit
7bbbe63bd9
1 changed files with 1 additions and 2 deletions
|
@ -188,11 +188,10 @@ bool GLInstance::SetTextureInternal(int picnum, FTexture* tex, int palette, int
|
|||
}
|
||||
lookuppal = palmanager.LookupPalette(usepalette, usepalswap, false,fixpalette < 0? !!(curpaletteflags & Pal_Fullscreen) : 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// This is intentionally the same value for both parameters. The shader does not use the same uniform for modulation and overlay colors.
|
||||
if (applytint) GLInterface.SetTinting(h.f, h.tint, h.tint);
|
||||
if (applytint && h.f) GLInterface.SetTinting(h.f, h.tint, h.tint);
|
||||
else GLInterface.SetTinting(-1, 0xffffff, 0xffffff);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue