-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
Many apps use glew as a GL portability layer. Glew is a header-only library that #define's all GL (and extension) symbols to go through an indirection layer. Emscripten can provide glew headers that would obviate the need to disable glew usage in application code.
In short, just copy glew.h, glxew.h, and wglew.h, remove the lines that #define all symbols, and adjust extension mechanism to fit webgl, or if webgl does not provide extension API, just define them appropriately.