From d274c553c53495c617243c869a968f1c5f2863c3 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 19 Sep 2020 13:04:56 +1000 Subject: [PATCH] OpenGLHostDisplay: Fix incorrect top alignment --- src/frontend-common/opengl_host_display.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/opengl_host_display.cpp b/src/frontend-common/opengl_host_display.cpp index 137875ab7..69f385fb1 100644 --- a/src/frontend-common/opengl_host_display.cpp +++ b/src/frontend-common/opengl_host_display.cpp @@ -493,7 +493,7 @@ void OpenGLHostDisplay::RenderDisplay() } #endif - RenderDisplay(left, top, width, height, m_display_texture_handle, m_display_texture_width, m_display_texture_height, + RenderDisplay(left, GetWindowHeight() - top - height, width, height, m_display_texture_handle, m_display_texture_width, m_display_texture_height, m_display_texture_view_x, m_display_texture_view_y, m_display_texture_view_width, m_display_texture_view_height, m_display_linear_filtering); }