Skip to content

Commit

Permalink
Show game window after reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Feb 10, 2018
1 parent 24b0808 commit dacfb31
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Layers/xrRender/HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ void CHW::Reset(HWND hwnd)
#endif
#ifndef _EDITOR
updateWindowProps(hwnd);
ShowWindow(hwnd, SW_SHOWNORMAL);
#endif
}

Expand Down
1 change: 1 addition & 0 deletions src/Layers/xrRenderDX10/dx10HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ void CHW::Reset(HWND hwnd)
//#endif

updateWindowProps(hwnd);
ShowWindow(hwnd, SW_SHOWNORMAL);

/*
#ifdef DEBUG
Expand Down
1 change: 1 addition & 0 deletions src/Layers/xrRenderGL/glHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ void CHW::Reset(HWND hwnd)
UpdateViews();

updateWindowProps(hwnd);
ShowWindow(hwnd, SW_SHOWNORMAL);
}

void CHW::updateWindowProps(HWND m_hWnd)
Expand Down

0 comments on commit dacfb31

Please sign in to comment.