diff options
author | chai <chaifix@163.com> | 2018-07-28 13:47:51 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-28 13:47:51 +0800 |
commit | d033400614e7e2c0ff49e5100c81e937e5818e74 (patch) | |
tree | 82e011222e9d88b3f7dff239aefae4a2c100fef4 /src/lua/graphics/luaopen_graphics.cpp | |
parent | 7b7a510321112978090575e89c3dabeba9ea9f97 (diff) |
*update
Diffstat (limited to 'src/lua/graphics/luaopen_graphics.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/graphics/luaopen_graphics.cpp b/src/lua/graphics/luaopen_graphics.cpp index 42586a5..2d1ff57 100644 --- a/src/lua/graphics/luaopen_graphics.cpp +++ b/src/lua/graphics/luaopen_graphics.cpp @@ -28,7 +28,7 @@ namespace lua static int l_init(lua_State* L) { WindowSystem* wnd = WindowSystem::get(); - WindowSetting setting; + WindowSystem::Setting setting; setting.width = luax_getfield_integer(L, 1, "width"); setting.height = luax_getfield_integer(L, 1, "height"); setting.title = luax_getfield_string(L, 1, "title"); |