diff options
| author | Léo Lam <leolino.lam@gmail.com> | 2018-03-23 15:05:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-23 15:05:59 +0100 |
| commit | dc098fdf085dac407a6b4c17da34cbc483dd933a (patch) | |
| tree | 6e78f078df8f74a8e8ee353f4b665c4ccd3e89f1 /Source/Core/VideoCommon/AbstractFramebuffer.cpp | |
| parent | e88cc33a29c842b87211398a51b5a43af1adde2f (diff) | |
| parent | 2ab29a40ebf7796748711f4b5274d2739b38a056 (diff) | |
Merge pull request #6502 from lioncash/warn
AbstractFramebuffer: Silence a -Wlogical-op-parentheses warning in ValidateConfig()
Diffstat (limited to 'Source/Core/VideoCommon/AbstractFramebuffer.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/AbstractFramebuffer.cpp | 2 |
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; } |
