Skip to content

Commit 496a8f1

Browse files
committed
Addition to previous commit
1 parent 7605f74 commit 496a8f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/xrEngine/Device_create.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ void CRenderDevice::Create()
3636
fASPECT = 1.f;
3737
const bool noEd = !editor();
3838
GEnv.Render->Create(m_hWnd, dwWidth, dwHeight, fWidth_2, fHeight_2, noEd);
39+
GetWindowRect(m_hWnd, &m_rcWindowBounds);
40+
GetClientRect(m_hWnd, &m_rcWindowClient);
3941
Memory.mem_compact();
4042
b_is_Ready = TRUE;
4143
_SetupStates();

0 commit comments

Comments
 (0)