mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Don't resize Framebuffers after device shutdown
This commit is contained in:
parent
9cb65c4fcf
commit
28c756b1d7
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ LONG WINAPI MainWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
|
|||
switch( uMsg )
|
||||
{
|
||||
case WM_WINDOWPOSCHANGED:
|
||||
if( renderSystem->IsInitialized() )
|
||||
if( renderSystem->IsInitialized() && win32.hDC != NULL )
|
||||
{
|
||||
RECT rect;
|
||||
if( ::GetClientRect( win32.hWnd, &rect ) )
|
||||
|
|
Loading…
Reference in a new issue