Skip to content Skip to sidebar Skip to footer

Qopenglwidget Not Drawing Array

you´re my last resort for this question because Im out of ideas. So first of all I have already done some openGL stuff but not with the Qt Libraries. And since I HAVE to do it wit

Solution 1:

You are enabling the wrong vertex attribute:

program.enableAttributeArray("vertexLocation");

It should either be (not the missing ")

program.enableAttributeArray(vertexLocation);

or (correct name)

program.enableAttributeArray("vertex");

Post a Comment for "Qopenglwidget Not Drawing Array"