stupid blunder

This commit is contained in:
Tim Felgentreff 2017-06-11 21:41:27 +02:00
parent b18818d8a8
commit 16abd5b909

View file

@ -268,8 +268,10 @@ static int CclSetZoomNoResize(lua_State *l)
LuaError(l, "Valid calls for SetZoSetZoomNoResize are SetZoomNoResize(isEnabled) or SetZoomNoResize(width, height)");
}
if (ZoomNoResize) {
Video.ViewportWidth = originalWidth;
Video.ViewportHeight = originalHeight;
Video.ViewportWidth = Video.Width;
Video.ViewportHeight = Video.Height;
Video.Width = originalWidth;
Video.Height = originalHeight;
UseOpenGL = true;
}
}