Skip to content

Commit

Permalink
Addition to previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Feb 11, 2018
1 parent 7605f74 commit 496a8f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrEngine/Device_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ void CRenderDevice::Create()
fASPECT = 1.f;
const bool noEd = !editor();
GEnv.Render->Create(m_hWnd, dwWidth, dwHeight, fWidth_2, fHeight_2, noEd);
GetWindowRect(m_hWnd, &m_rcWindowBounds);
GetClientRect(m_hWnd, &m_rcWindowClient);
Memory.mem_compact();
b_is_Ready = TRUE;
_SetupStates();
Expand Down

0 comments on commit 496a8f1

Please sign in to comment.