Fix --graphics-debug;

This commit is contained in:
bjorn 2023-05-03 22:01:17 -07:00
parent fd8bcdfaeb
commit 43e796acd1
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ function lovr.boot()
if hasConf then confOk, confError = pcall(require, 'conf') end
if confOk and lovr.conf then confOk, confError = pcall(lovr.conf, conf) end
conf.graphics.debug = arg['--graphics-debug']
conf.graphics.debug = arg['--graphics-debug'] or conf.graphics.debug
lovr._setConf(conf)
lovr.filesystem.setIdentity(conf.identity, conf.saveprecedence)