OpenGLHostDisplay: Fix incorrect top alignment

This commit is contained in:
Connor McLaughlin 2020-09-19 13:04:56 +10:00
parent a7b85605e2
commit d274c553c5
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}