godot/drivers
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
..
alsa
alsamidi
coreaudio
coremidi
dummy Merge pull request #51491 from Calinou/glow-add-high-quality-mode-3.x 2021-10-08 07:47:07 +02:00
gl_context
gles2 Fix Vertex Attribute Specification Octahedral 2021-11-15 22:28:23 +01:00
gles3 [HTML5] Use compatibility function for glGetBufferSubData. 2021-11-29 16:42:26 +01:00
gles_common clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
png
pulseaudio Print the number of PulseAudio input channels when in verbose mode 2021-11-15 22:30:57 +01:00
unix Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
wasapi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
windows Merge pull request #52964 from Pineapple/WIN32_LEAN_AND_MEAN 2021-10-05 12:03:52 +02:00
winmidi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
xaudio2 Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
register_driver_types.cpp
register_driver_types.h
SCsub