Fixed const problem.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1374 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2008-06-13 13:25:01 +00:00
parent 90c297019a
commit e0b7099b9f
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{