Fixed const problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1374 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
90c297019a
commit
e0b7099b9f
|
@ -339,8 +339,8 @@ CIrrDeviceWin32::CIrrDeviceWin32(const SIrrlichtCreationParameters& params)
|
|||
const s32 realWidth = clientSize.right - clientSize.left;
|
||||
const s32 realHeight = clientSize.bottom - clientSize.top;
|
||||
|
||||
const s32 windowLeft = (GetSystemMetrics(SM_CXSCREEN) - realWidth) / 2;
|
||||
const s32 windowTop = (GetSystemMetrics(SM_CYSCREEN) - realHeight) / 2;
|
||||
s32 windowLeft = (GetSystemMetrics(SM_CXSCREEN) - realWidth) / 2;
|
||||
s32 windowTop = (GetSystemMetrics(SM_CYSCREEN) - realHeight) / 2;
|
||||
|
||||
if (CreationParams.Fullscreen)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue