mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Move status update overlay to bottom left for SDL
This commit is contained in:
1 parent
c48ed7bb0d
commit
cabbba2448
1 file changed
+4
-4
@@ -197,11 +197,11 @@ void SdlRenderer::renderOverlay(Overlay::OverlayType type)
|
||||
}
|
||||
|
||||
if (type == Overlay::OverlayStatusUpdate) {
|
||||
// Top right
|
||||
// Bottom Left
|
||||
int unused;
|
||||
SDL_RenderGetLogicalSize(m_Renderer, &m_OverlayRects[type].x, &unused);
|
||||
m_OverlayRects[type].x -= surface->w;
|
||||
m_OverlayRects[type].y = 0;
|
||||
SDL_RenderGetLogicalSize(m_Renderer, &unused, &m_OverlayRects[type].y);
|
||||
m_OverlayRects[type].x = 0;
|
||||
m_OverlayRects[type].y -= surface->h;
|
||||
}
|
||||
else if (type == Overlay::OverlayDebug) {
|
||||
// Top left
|
||||
|
||||
Reference in new issue
Block a user