Skip to content
Snippets Groups Projects
Commit 27cc655d authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@2853 51575b47-30f0-44d4-a5cc-537603b46e54
parent d6381417
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ if not config.settings.window or not config.settings.window.size then
local r = list[1] or {w=800, h=600}
print("[RESOLUTION] no configured resolution, defaulting to biggest possible: ", r.w, r.h)
config.settings.window = config.settings.window or {}
config.settings.window.size = r.w.."x"..r.h
config.settings.window.size = math.floor(r.w * 0.9).."x"..math.floor(r.h*0.9)
end
-- Load default keys
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment