summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelShaderGen.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-28 15:30:29 +1300
committerScott Mansell <phiren@gmail.com>2023-01-31 19:41:23 +1300
commit26e00c3bb4957ce9d26415e415d0b137742844bc (patch)
treedcf1969f8457a686785a26f0afebc2d30189a3dc /Source/Core/VideoCommon/PixelShaderGen.cpp
parent74d3b3443a3eb2bb1697207b549d2d7127f4b98f (diff)
Fix warning about using & with bools
Diffstat (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelShaderGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp
index 7db650e431..1d7cc375d6 100644
--- a/Source/Core/VideoCommon/PixelShaderGen.cpp
+++ b/Source/Core/VideoCommon/PixelShaderGen.cpp
@@ -323,7 +323,7 @@ void ClearUnusedPixelShaderUidBits(APIType api_type, const ShaderHostConfig& hos
// If bounding box is enabled when a UID cache is created, then later disabled, we shouldn't
// emit the bounding box portion of the shader.
- uid_data->bounding_box &= host_config.bounding_box & host_config.backend_bbox;
+ uid_data->bounding_box &= host_config.bounding_box && host_config.backend_bbox;
}
void WritePixelShaderCommonHeader(ShaderCode& out, APIType api_type,