Fixed various issues with updates from sokol.
This commit is contained in:
parent
d44112408e
commit
1950204d54
@ -18,6 +18,14 @@ local lcpp = require("tools.lcpp")
|
||||
|
||||
-- just use LuaJIT ffi and lcpp together
|
||||
HEADER_PATH = HEADER_PATH or ""
|
||||
ffi.cdef([[#include "]]..HEADER_PATH..[[ffi/sokol-headers/sokol_gfx.h" ]])
|
||||
ffi.cdef([[
|
||||
#include "]]..HEADER_PATH..[[ffi/sokol-headers/sokol_gfx.h"
|
||||
|
||||
enum sg_params_extended {
|
||||
SG_SHADERSTAGE_VS,
|
||||
SG_SHADERSTAGE_FS
|
||||
} sg_params_extended;
|
||||
|
||||
]])
|
||||
|
||||
return sokol_gfx
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
|
||||
package.path = package.path..";../?.lua"
|
||||
package.path = package.path..";../../?.lua"
|
||||
local dirtools = require("tools.vfs.dirtools").init("sokol%-luajit")
|
||||
|
||||
--_G.SOKOL_DLL = "sokol_debug_dll"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user