mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-12-13 21:02:28 +00:00
Move status update overlay to bottom left for SDL
This commit is contained in:
parent
c48ed7bb0d
commit
cabbba2448
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue