Fix warning about using & with bools

This commit is contained in:
Scott Mansell 2023-01-28 15:30:29 +13:00
parent 74d3b3443a
commit 26e00c3bb4
1 changed files with 1 additions and 1 deletions

View File

@ -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,