Skip to content

Provide glew stubs #340

@behdad

Description

@behdad

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions