Skip to content

glfw & opengl emscripten builds#130

Open
hchac wants to merge 1 commit into
c3lang:mainfrom
hchac:opengl_glfw_emscripten
Open

glfw & opengl emscripten builds#130
hchac wants to merge 1 commit into
c3lang:mainfrom
hchac:opengl_glfw_emscripten

Conversation

@hchac

@hchac hchac commented May 28, 2026

Copy link
Copy Markdown
Contributor

Setting opengl version to 3.3 so that we can access functions under 3.1,
3.2, and 3.3. Not all are implemented under WebGL 2.0, but some are.
Those that aren't stay as null pointers.

Specifically needed access to the uniform block functions under 3.1, but I see that WebGL 2.0 includes functions that are defined up to 3.3. Didn't see the harm in having it try to load everything up to 3.3.

…opengl version from 3.0 to 3.3 when running under WebGL 2.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant