mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
Fix warning about using & with bools
This commit is contained in:
@ -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
|
// 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.
|
// 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,
|
void WritePixelShaderCommonHeader(ShaderCode& out, APIType api_type,
|
||||||
|
Reference in New Issue
Block a user