Closed
Bug 746733
Opened 13 years ago
Closed 13 years ago
WebGL GetProgramParameter shouldn't accept illegal pnames
Categories
(Core :: Graphics: CanvasWebGL, defect)
Core
Graphics: CanvasWebGL
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Unassigned)
References
Details
(Whiteboard: webgl-conformance)
2620 switch (pname) {
2621 case LOCAL_GL_CURRENT_PROGRAM:
2622 case LOCAL_GL_ATTACHED_SHADERS:
2623 case LOCAL_GL_INFO_LOG_LENGTH:
2624 case LOCAL_GL_ACTIVE_UNIFORMS:
2625 case LOCAL_GL_ACTIVE_UNIFORM_MAX_LENGTH:
2626 case LOCAL_GL_ACTIVE_ATTRIBUTES:
2627 case LOCAL_GL_ACTIVE_ATTRIBUTE_MAX_LENGTH:
CURENT_PROGRAM is not in GLES2 or WebGL. The three *_LENGTH pnames are in GLES2, but not WebGL.
The patch in bug 745897 will fix this.
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Thanks for the tests. Confirming it's fixed by 745897.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: webgl-conformance webgl-test-needed → webgl-conformance
You need to log in
before you can comment on or make changes to this bug.
Description
•