Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | dbu |
i installed emsdk with latest (after trying 1.40.1 and 1.39.9)
when i run
scons platform=javascript tools=no target=release
i get an error that glGetBufferSubData is not declared.
[ 56%] Compiling ==> drivers/gles3/rasterizer_scene_gles3.cpp
drivers/gles3/rasterizer_scene_gles3.cpp:1375:5: error: use of undeclared identifier 'glGetBufferSubData'; did you mean 'glBufferSubData'?
glGetBufferSubData(GL_ARRAY_BUFFER, 0, particles->amount * sizeof(RasterizerGLES3Particle), particle_array);
^~~~~~~~~~~~~~~~~~
glBufferSubData
/home/david/data/godot/godot-src/emsdk/upstream/emscripten/system/include/GLES3/gl3.h:541:29: note: 'glBufferSubData' declared here
GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
^
when i compile godot 3.3.3 with the exact same setup, the build runs through.
is this problem coming from somewhere else than emsdk? what part of my system should be providing that glGetBufferSubData ?