Re: [PyOpenGL-Users] glGenVertexArrays producing 'invalid enumerant' error.
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2011-11-10 04:55:10
|
On 11-11-09 10:42 PM, Gordon Wrigley wrote: > Enabling error checking did not change that particular failure. > > Are you suggesting that that machine may not have glBindVertexArray? > That's a core function and the driver reports itself as 3.3.0 via > glxinfo and lets me acquire a core 3.3 context via pyopengl glut. Hmm, no, was suggesting that your machine was not providing a result from glGetString() because core doesn't support that, and instead wants you to use glGetStringi. However, if the result is not changing with error checking then my assumption is wrong. Possibly your driver is just ignoring the bad request, but not signalling an error? Well, something to guard against no matter what... and when I look at it, there *is* a guard against it that I would have expected to be in the current release (that is, AttributeError is explicitly checked on that line in the code). A bit stumped on that one, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |