Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GL.currArrayBuffer and GL.currElementArrayBuffer #11225

Merged
merged 3 commits into from
May 26, 2020

Conversation

juj
Copy link
Collaborator

@juj juj commented May 23, 2020

Fix GL.currArrayBuffer and GL.currElementArrayBuffer to be properly tracked as per GL context specific variables and not global process wide variables. Rename the variables to more canonical GL names. Micro-optimize code size of glDeleteBuffers to avoid referencing these variable names unless actually used (FULL_ES2 | LEGACY_GL_EMULATION modes)

src/library_glemu.js Outdated Show resolved Hide resolved
juj added 3 commits May 26, 2020 20:05
…racked as per GL context specific variables and not global process wide variables. Rename the variables to more canonical GL names. Micro-optimize code size of glDeleteBuffers to avoid referencing these variable names unless actually used (FULL_ES2 | LEGACY_GL_EMULATION modes)
@juj juj force-pushed the fix_curArrayBuffer_binding branch from 3e75d40 to 29f57ec Compare May 26, 2020 17:05
@juj juj merged commit aeca832 into emscripten-core:master May 26, 2020
prideout added a commit to prideout/emscripten that referenced this pull request Jul 28, 2020
This regressed when some state tracking was renamed and moved
on May 26 via PR emscripten-core#11225, and the integer variant of
glVertexAttribPointer was overlooked.

google/filament#2856
juj pushed a commit that referenced this pull request Jul 28, 2020
This regressed when some state tracking was renamed and moved
on May 26 via PR #11225, and the integer variant of
glVertexAttribPointer was overlooked.

google/filament#2856
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants