Closed
Bug 1265145
Opened 9 years ago
Closed 9 years ago
There's a missing line in this tutorial which may cause confusion: gl.vertexAttribPointer()
Categories
(Developer Documentation Graveyard :: API: Miscellaneous, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mantissa.sys, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
Hi MDN,
Can you add this as line 3 under the heading 'Updating the shaders':
gl.vertexAttribPointer(texCoordAttribute, 2, gl.FLOAT, false, 0, 0);
This is actually very important, without it the texture example will not work.
Comment 1•9 years ago
|
||
Added!
btw, account creation on MDN is enabled again, so if you like, feel free to sign-up and make more tweaks to the MDN docs. :-)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•