summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractFramebuffer.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-03-23 09:58:19 -0400
committerLioncash <mathew1800@gmail.com>2018-03-23 09:58:19 -0400
commit2ab29a40ebf7796748711f4b5274d2739b38a056 (patch)
tree6e78f078df8f74a8e8ee353f4b665c4ccd3e89f1 /Source/Core/VideoCommon/AbstractFramebuffer.cpp
parente88cc33a29c842b87211398a51b5a43af1adde2f (diff)
AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()
Diffstat (limited to 'Source/Core/VideoCommon/AbstractFramebuffer.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractFramebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}