Merge pull request #818 from ChuckRozhon/videocommon_bool_warnings
Removed warnings by assigning to bool
This commit is contained in:
commit
bc1d9056cc
|
@ -120,9 +120,9 @@ void CopyEFB(u32 dstAddr, const EFBRectangle& srcRect,
|
||||||
*/
|
*/
|
||||||
void ClearScreen(const EFBRectangle &rc)
|
void ClearScreen(const EFBRectangle &rc)
|
||||||
{
|
{
|
||||||
bool colorEnable = bpmem.blendmode.colorupdate;
|
bool colorEnable = (bpmem.blendmode.colorupdate != 0);
|
||||||
bool alphaEnable = bpmem.blendmode.alphaupdate;
|
bool alphaEnable = (bpmem.blendmode.alphaupdate != 0);
|
||||||
bool zEnable = bpmem.zmode.updateenable;
|
bool zEnable = (bpmem.zmode.updateenable != 0);
|
||||||
auto pixel_format = bpmem.zcontrol.pixel_format;
|
auto pixel_format = bpmem.zcontrol.pixel_format;
|
||||||
|
|
||||||
// (1): Disable unused color channels
|
// (1): Disable unused color channels
|
||||||
|
|
Loading…
Reference in New Issue