[PyQt] glGetFloatv crashes application
jonatan.magnusson at gmail.com
Tue Feb 7 18:55:58 GMT 2017
> The problem is that glGetFloatv() doesn't know about GL_MODELVIEW_MATRIX (and that it returns 16 values). Is there a definitive list somewhere of the names that can be queried and the versions of OpenGL they apply to?
Yes, I can see that could be a problem.
Using a predefined list of lengths could be a solution. I think that's
how PyOpenGL does it. There's a list of all constants for example here:
However, there are a few hundreds of them!
More information about the PyQt