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
WebGLRenderingContext pixelStorei second param should be Dynamic #4258
Comments
From the WebGL spec: void pixelStorei(GLenum pname, GLint param) (OpenGL ES 2.0 §3.6.1, man page) |
If we don't want to use Dynamic, we can test if 1 == true and 0 == false in this case, and document it. |
Added this to the Later milestone. |
Removed Area-HTML label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Removed Library-Html label. |
The IDL defines as:
Both are ints The 2nd value can behave as a boolean zero is false. Any non-zero value is interpreted as true. I don't think there's anything we have to do here. |
Currently, the second param is an int
See http://api.dartlang.org/html/WebGLRenderingContext.html#pixelStorei
However, according to http://www.khronos.org/registry/webgl/specs/1.0/#PIXEL_STORAGE_PARAMETERS the second param can be a boolean or an unsigned long.
The text was updated successfully, but these errors were encountered: