Closed Bug 1087893 Opened 10 years ago Closed 8 years ago

WebGL2 getAttribLocation() call returns value -1

Categories

(Core :: Graphics: CanvasWebGL, defect)

35 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: demidov, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20141022004003 Steps to reproduce: Look at http://www.ibiblio.org/e-notes/webgl/2/test_getAttribLocation_2.htm Actual results: Error: WebGL: enableVertexAttribArray: index -1 is invalid. Expected results: the script works in WebGL 1 at http://www.ibiblio.org/e-notes/webgl/2/test_getAttribLocation.htm
Component: Untriaged → Canvas: WebGL
Product: Firefox → Core
The link is broken. Could you please provide a test case?
as I think, getAttribLocation() works fine now, see e.g. https://www.ibiblio.org/e-notes/webgl/gpu/big_wave2.htm
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.