We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So what parameters are you passing to it?
Posting your answer to my wall isn't going to help other people who actually know what the heck this function is help you!
Here's what you posted:
Kafilah → TfGuy44 pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions); I am passing these parameters off to it!
expects: vertexAttribPointer(int, int, int, boolean, int int) you wrote: pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions);
vertexAttribPointer(int, int, int, boolean, int int)
pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions);
PGL.FLOAT is not an int. Maybe vertLoc as well. Try: pgl.vertexAttribPointer(int(vertLoc), 3, int(PGL.FLOAT), false, 0, depthPositions);
pgl.vertexAttribPointer(int(vertLoc), 3, int(PGL.FLOAT), false, 0, depthPositions);
Answers
So what parameters are you passing to it?
Posting your answer to my wall isn't going to help other people who actually know what the heck this function is help you!
Here's what you posted:
Kafilah → TfGuy44 pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions); I am passing these parameters off to it!
expects:
vertexAttribPointer(int, int, int, boolean, int int)
you wrote:
pgl.vertexAttribPointer(vertLoc, 3, PGL.FLOAT, false, 0, depthPositions);
PGL.FLOAT is not an int. Maybe vertLoc as well.
Try:
pgl.vertexAttribPointer(int(vertLoc), 3, int(PGL.FLOAT), false, 0, depthPositions);