summaryrefslogtreecommitdiff
path: root/src/video_core
diff options
context:
space:
mode:
authorGravatar James Rowe2016-11-05 02:58:11 -0600
committerGravatar James Rowe2016-11-05 03:46:43 -0600
commitd9305b0a074a255eb484911db70a126a6fe347b1 (patch)
treefcd629c513d4c8d217bf89069b288a39debb594f /src/video_core
parentRework frame layouts to use a max rectangle instead of hardcoded calculations (diff)
downloadyuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.gz
yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.tar.xz
yuzu-d9305b0a074a255eb484911db70a126a6fe347b1.zip
Add default hotkey to swap primary screens.
Also minor style changes
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp5
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() {
406 glUniform1i(uniform_color_texture, 0); 406 glUniform1i(uniform_color_texture, 0);
407 407
408 if (layout.top_screen_enabled) { 408 if (layout.top_screen_enabled) {
409 DrawSingleScreenRotated(screen_infos[0], (float)top_screen.left, 409 DrawSingleScreenRotated(screen_infos[0], (float)top_screen.left, (float)top_screen.top,
410 (float)top_screen.top, (float)top_screen.GetWidth(), 410 (float)top_screen.GetWidth(), (float)top_screen.GetHeight());
411 (float)top_screen.GetHeight());
412 } 411 }
413 if (layout.bottom_screen_enabled) { 412 if (layout.bottom_screen_enabled) {
414 DrawSingleScreenRotated(screen_infos[1], (float)bottom_screen.left, 413 DrawSingleScreenRotated(screen_infos[1], (float)bottom_screen.left,