From 26e00c3bb4957ce9d26415e415d0b137742844bc Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Sat, 28 Jan 2023 15:30:29 +1300 Subject: [PATCH] Fix warning about using & with bools --- Source/Core/VideoCommon/PixelShaderGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,