virtualx-engine/platform
Fabio Alessandrelli 35b7e86e6e
[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.

(cherry picked from commit bbfe054175)
2021-11-29 16:42:26 +01:00
..
android Fix Android get_screen_orientation() not returning valid values 2021-11-25 23:13:14 +01:00
iphone [iOS export] Capture and display xcodebuild output. 2021-11-15 22:25:35 +01:00
javascript [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01:00
osx Fix crash on macOS (AS) when dualshock4 is removed 2021-11-25 23:13:07 +01:00
server [3.x] Add RISC-V to "server" platform 2021-10-27 13:57:37 -05:00
uwp clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
windows clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
x11 Merge pull request #54313 from nekomatata/x11-fix-input-delay-3.x 2021-11-02 08:53:06 +01:00
register_platform_apis.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00