fix: emscripten export visibility for add_light

This commit is contained in:
Nick Fisher committed 2024-10-23 14:44:32 +08:00
1 parent f69fcbb783
commit 1bdf6888c6
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ extern "C"
((FilamentViewer *)viewer)->removeIbl(); ((FilamentViewer *)viewer)->removeIbl();
} }
EntityId add_light( EMSCRIPTEN_KEEPALIVE EntityId add_light(
const void *const viewer, const void *const viewer,
uint8_t type, uint8_t type,
float colour, float colour,