diff --git a/src/rendering/vulkan/renderer/vk_renderstate.cpp b/src/rendering/vulkan/renderer/vk_renderstate.cpp index 133238679..bb7ed28cf 100644 --- a/src/rendering/vulkan/renderer/vk_renderstate.cpp +++ b/src/rendering/vulkan/renderer/vk_renderstate.cpp @@ -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; }