diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-24 17:54:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 17:54:44 +0200 |
commit | 299f9432022b48c702bd822ebe679d26f3b36b44 (patch) | |
tree | f700c312b7390ef8559b745e6d1eaf12dae5664c | |
parent | Merge pull request #389 from mailwl/fs-renamefile (diff) | |
parent | renderer_opengl: Silence a -Wdangling-else warning in DrawScreenTriangles() (diff) | |
download | yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar.gz yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar.bz2 yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar.lz yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar.xz yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.tar.zst yuzu-299f9432022b48c702bd822ebe679d26f3b36b44.zip |
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index ab0acb20a..baff2c7af 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -295,7 +295,7 @@ void RendererOpenGL::DrawScreenTriangles(const ScreenInfo& screen_info, float x, const auto& texcoords = screen_info.display_texcoords; auto left = texcoords.left; auto right = texcoords.right; - if (framebuffer_transform_flags != Tegra::FramebufferConfig::TransformFlags::Unset) + if (framebuffer_transform_flags != Tegra::FramebufferConfig::TransformFlags::Unset) { if (framebuffer_transform_flags == Tegra::FramebufferConfig::TransformFlags::FlipV) { // Flip the framebuffer vertically left = texcoords.right; @@ -306,6 +306,7 @@ void RendererOpenGL::DrawScreenTriangles(const ScreenInfo& screen_info, float x, framebuffer_transform_flags); UNIMPLEMENTED(); } + } std::array<ScreenRectVertex, 4> vertices = {{ ScreenRectVertex(x, y, texcoords.top, left), |