Re: [PyOpenGL-Users] glGetUniformLocation causes segmentation faults
Brought to you by:
mcfletch
From: Ian M. <geo...@gm...> - 2009-07-05 22:27:59
|
On Sun, Jul 5, 2009 at 1:57 PM, Mike C. Fletcher <mcf...@vr...>wrote: > You don't have a valid OpenGL context at this point, without that many > of the newer GL implementations will return NULL pointers when you try > to get the pointer. Some will even silently return NULL values (without > raising errors!) when there's no active context. That's all reasonably > spec-compliant, but a bit of a PITA IMO. Thought it might be the context. Attached is a simple example that crashes. Ian |