Closed Bug 567388 Opened 15 years ago Closed 15 years ago

enabling POINT_SMOOTH does nothing, but using literal works: gl.enable(0x0B10);

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: andorsalga, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a5pre) Gecko/20100520 Minefield/3.7a5pre Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a5pre) Gecko/20100520 Minefield/3.7a5pre When trying to enable point smoothing in WebGL, calling gl.enable(gl.POINT_SMOOTH); // does nothing But calling gl.enable(0x0B10); // works Reproducible: Always Steps to Reproduce: Run demo: http://matrix.senecac.on.ca/~asalga/bugs/point_smooth/ The fix it, uncomment this line: //gl.enable(0x0B10); Actual Results: points appear square. Expected Results: points should be circles.
Where is this POINT_SMOOTH property coming from? I don't see it in https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html anywhere....
I'm not sure why it isn't there. I'm guessing since using the literal works, it should be in the spec.
I talked to Vlad on IRC about this. He said POINT_SMOOTH isn't available in ES 2.0, which is why it is missing from Minefield. I'm worried it may not make it into the draft spec and will be removed from Webkit and Chrome. So I'll ask some devs who are working on the Khronos spec what they think.
POINT_SMOOTH is indeed not in the current (near final) WebGL spec, and we are now properly rejecting invalid pnames in enable().
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.