fix: emscripten export visibility for add_light

This commit is contained in:
Nick Fisher
2024-09-05 17:42:17 +08:00
parent f69fcbb783
commit 1bdf6888c6

View File

@@ -110,7 +110,7 @@ extern "C"
((FilamentViewer *)viewer)->removeIbl();
}
EntityId add_light(
EMSCRIPTEN_KEEPALIVE EntityId add_light(
const void *const viewer,
uint8_t type,
float colour,