mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
Lunatic: disable printing debug messages for the preview build. BUILD_LUNATIC.
git-svn-id: https://svn.eduke32.com/eduke32@3979 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
eb6899d062
commit
b5c5513924
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ local bit = require("bit")
|
|||
-- 2: disable JIT compilation
|
||||
-- 4: load LuaJIT's 'v' module, printing trace info
|
||||
-- 8: load LuaJIT's 'dump' module, printing generated IR/machine code
|
||||
ffi.cdef "enum { _DEBUG_LUNATIC=1 }"
|
||||
ffi.cdef "enum { _DEBUG_LUNATIC=0 }"
|
||||
|
||||
if (bit.band(ffiC._DEBUG_LUNATIC, 2)~=0) then
|
||||
require("jit").off()
|
||||
|
|
Loading…
Reference in a new issue