Skip to content

Commit 83f37ac

Browse files
fix loading window display for certain ??? scenarios
1 parent 47822b1 commit 83f37ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/arch/LoadingWindow/LoadingWindow_Win32.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static HBITMAP LoadWin32Surface(const RageSurface *pSplash, HWND hWnd)
4141
0xFF000000, 0x00FF0000, 0x0000FF00, 0);
4242
RageSurfaceUtils::Blit(pSplash, s, -1, -1);
4343
RECT wrect;
44+
GetWindowRect(hWnd, &wrect);
4445
DwmGetWindowAttribute(hWnd, DWMWA_EXTENDED_FRAME_BOUNDS, &wrect, sizeof(wrect));
4546
RECT rOld;
4647
GetClientRect(hWnd, &rOld);

0 commit comments

Comments
 (0)