From 2ab29a40ebf7796748711f4b5274d2739b38a056 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 23 Mar 2018 09:58:19 -0400 Subject: [PATCH] AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig() --- Source/Core/VideoCommon/AbstractFramebuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/AbstractFramebuffer.cpp b/Source/Core/VideoCommon/AbstractFramebuffer.cpp index 8a1adb7018..f8a9b07ba8 100644 --- a/Source/Core/VideoCommon/AbstractFramebuffer.cpp +++ b/Source/Core/VideoCommon/AbstractFramebuffer.cpp @@ -29,7 +29,7 @@ bool AbstractFramebuffer::ValidateConfig(const AbstractTexture* color_attachment return tex->GetConfig().rendertarget && tex->GetConfig().levels == 1; }; if ((color_attachment && !CheckAttachment(color_attachment)) || - depth_attachment && !CheckAttachment(depth_attachment)) + (depth_attachment && !CheckAttachment(depth_attachment))) { return false; }