Commit 74b70f52 authored by kenan's avatar kenan

restore

parent cedb60e1
...@@ -63,7 +63,7 @@ bool Game::Initialize() { ...@@ -63,7 +63,7 @@ bool Game::Initialize() {
params.AntiAlias = 0; params.AntiAlias = 0;
int w = 1024.0*xScale; int w = 1024.0*xScale;
int h = 640.0*yScale; int h = 640.0*yScale;
params.WindowSize = irr::core::dimension2d<u32>(w, h); params.WindowSize = irr::core::dimension2d<u32>(0, 0);
params.WindowLeft = (screenH - w)/2.0; params.WindowLeft = (screenH - w)/2.0;
params.WindowTop = (screenW - h)/2.0; params.WindowTop = (screenW - h)/2.0;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment