GlDrawElements... did I miss something?
-
Hello,
I have started to write a 3D engine to learn OpenGL new function, I am working on Linux.
I have begun coding with X11, and then moved to QT. While glDrawElements worked fine on my GLX window and I could draw primitives, the same code crashed when I used QT.
I have used GLEW in both cases, so it should call the same functions. My guess is that it can be related to the context I am using on QT. I am using the default format, which should allow me to use the functions.
Do you have any comments or ideas on what it could be?
Thanks in advance, -
Hi and welcome to devnet,
You should also give what OS / Qt versions you are using
-
Could you post a code sample that reproduce the problem ?
In between, you might better update Qt to the latest version (5.1.1 at this time)