mirror of https://github.com/bjornbytes/lovr.git
Details;
This commit is contained in:
parent
2dc9081d02
commit
c2847cedce
|
@ -148,10 +148,10 @@ if target == 'wasm' then
|
||||||
lflags += '-s USE_WEBGL2'
|
lflags += '-s USE_WEBGL2'
|
||||||
lflags += '-s FORCE_FILESYSTEM'
|
lflags += '-s FORCE_FILESYSTEM'
|
||||||
lflags += ([[-s EXPORTED_FUNCTIONS="[
|
lflags += ([[-s EXPORTED_FUNCTIONS="[
|
||||||
'_main','_lovrDestroy','_webxr_attach','_webxr_detach','_lovrCanvasCreateFromHandle',
|
'_main','_lovrDestroy','_webxr_attach','_webxr_detach',
|
||||||
'_lovrCanvasDestroy','_lovrGraphicsSetBackbuffer','_lovrGraphicsSetViewMatrix',
|
'_lovrCanvasCreateFromHandle','_lovrCanvasDestroy',
|
||||||
'_lovrGraphicsSetProjection'
|
'_lovrGraphicsSetBackbuffer','_lovrGraphicsSetViewMatrix','_lovrGraphicsSetProjection'
|
||||||
]"]]):gsub('\n', '')
|
]"]]):gsub('%s', '')
|
||||||
if config.headsets.webxr then
|
if config.headsets.webxr then
|
||||||
lflags += '--js-library etc/webxr.js'
|
lflags += '--js-library etc/webxr.js'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue