Skip to content

Commit dacfb31

Browse files
committed
Show game window after reset
1 parent 24b0808 commit dacfb31

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/Layers/xrRender/HW.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ void CHW::Reset(HWND hwnd)
7878
#endif
7979
#ifndef _EDITOR
8080
updateWindowProps(hwnd);
81+
ShowWindow(hwnd, SW_SHOWNORMAL);
8182
#endif
8283
}
8384

src/Layers/xrRenderDX10/dx10HW.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ void CHW::Reset(HWND hwnd)
512512
//#endif
513513

514514
updateWindowProps(hwnd);
515+
ShowWindow(hwnd, SW_SHOWNORMAL);
515516

516517
/*
517518
#ifdef DEBUG

src/Layers/xrRenderGL/glHW.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ void CHW::Reset(HWND hwnd)
185185
UpdateViews();
186186

187187
updateWindowProps(hwnd);
188+
ShowWindow(hwnd, SW_SHOWNORMAL);
188189
}
189190

190191
void CHW::updateWindowProps(HWND m_hWnd)

0 commit comments

Comments
 (0)