mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-15 00:41:57 +00:00
- fix colormask alpha typo
This commit is contained in:
parent
f04522c397
commit
0e43979c28
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void VkRenderState::SetDepthRange(float min, float max)
|
|||
void VkRenderState::SetColorMask(bool r, bool g, bool b, bool a)
|
||||
{
|
||||
int rr = r, gg = g, bb = b, aa = a;
|
||||
mColorMask = (aa < 3) | (bb << 2) | (gg << 1) | rr;
|
||||
mColorMask = (aa << 3) | (bb << 2) | (gg << 1) | rr;
|
||||
mNeedApply = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue