diff options
author | James Rowe <jroweboy@gmail.com> | 2016-11-05 09:58:11 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2016-11-05 10:46:43 +0100 |
commit | d9305b0a074a255eb484911db70a126a6fe347b1 (patch) | |
tree | fcd629c513d4c8d217bf89069b288a39debb594f /src/video_core/renderer_opengl/renderer_opengl.cpp | |
parent | Rework frame layouts to use a max rectangle instead of hardcoded calculations (diff) | |
download | yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.gz yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.bz2 yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.lz yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.xz yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.zst yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/renderer_opengl.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp index fd0d74ace..93f0ac105 100644 --- a/src/video_core/renderer_opengl/renderer_opengl.cpp +++ b/src/video_core/renderer_opengl/renderer_opengl.cpp @@ -406,9 +406,8 @@ void RendererOpenGL::DrawScreens() { glUniform1i(uniform_color_texture, 0); if (layout.top_screen_enabled) { - DrawSingleScreenRotated(screen_infos[0], (float)top_screen.left, - (float)top_screen.top, (float)top_screen.GetWidth(), - (float)top_screen.GetHeight()); + DrawSingleScreenRotated(screen_infos[0], (float)top_screen.left, (float)top_screen.top, + (float)top_screen.GetWidth(), (float)top_screen.GetHeight()); } if (layout.bottom_screen_enabled) { DrawSingleScreenRotated(screen_infos[1], (float)bottom_screen.left, |