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

Four nondescript WebGL improvements #20598

Merged
merged 4 commits into from Apr 10, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Do not emit a WebGL error for "gl_" prefixed names in gl.getAttribLoc…

…ation
  • Loading branch information
nox committed Apr 9, 2018
commit f837354cb765f3e63783b845be128c187b53b596
@@ -303,7 +303,7 @@ impl WebGLProgram {

// Check if the name is reserved
if name.starts_with("gl_") {
return Err(WebGLError::InvalidOperation);
return Ok(None);
}

// https://www.khronos.org/registry/webgl/specs/latest/1.0/#GLSL_CONSTRUCTS
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.