mirror of https://github.com/bjornbytes/lovr.git
Default window size matches conf.lua;
This commit is contained in:
parent
860651e80c
commit
7636a3c5e9
|
@ -124,11 +124,11 @@ static int l_lovrSystemOpenWindow(lua_State* L) {
|
|||
luaL_checktype(L, 1, LUA_TTABLE);
|
||||
|
||||
lua_getfield(L, 1, "width");
|
||||
window.width = luaL_optinteger(L, -1, 1080);
|
||||
window.width = luaL_optinteger(L, -1, 720);
|
||||
lua_pop(L, 1);
|
||||
|
||||
lua_getfield(L, 1, "height");
|
||||
window.height = luaL_optinteger(L, -1, 600);
|
||||
window.height = luaL_optinteger(L, -1, 800);
|
||||
lua_pop(L, 1);
|
||||
|
||||
lua_getfield(L, 1, "fullscreen");
|
||||
|
|
Loading…
Reference in New Issue