virtualx-engine/platform/javascript/js
Fabio Alessandrelli bbfe054175 [HTML5] Use compatibility function for glGetBufferSubData.
The "webgl/webgl2.h" include provides that function, but it's not
available in emscripten versions < 2.0.17 .

Since we need to support emscripten 1.39.9 (mono builds), this commit
adds a JS function in library_godot_display.js as a compatibility layer
for it, and implement glGetBufferSubData by funneling the call to that
function (so we don't have name collisions JS-side with recent emcc).

All those hacks are now moved to the platform directory instead of being
ifdefs inside the drivers implementations.
2021-11-26 15:58:04 +01:00
..
engine [HTML5] Add option to focus canvas on start. 2021-06-29 14:02:23 +02:00
jsdoc2rst [HTML5] Add jsdoc2rst tool. 2021-02-26 15:35:45 +01:00
libs [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-26 15:58:04 +01:00