You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
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.
HTML5 platform port
This folder contains the C++ and JavaScript code for the HTML5/WebAssembly platform port, compiled using Emscripten.
It also contains a ESLint linting setup (see package.json).
See also misc/dist/html folder for files used by this platform
such as the HTML5 shell.
Artwork license
logo.png and run_icon.png are licensed under
Creative Commons Attribution 3.0 Unported
per the HTML5 logo usage guidelines.