[PyOpenGL-Devel] Possible bug in PyOpenGL wrapper of glGenTextures?
Brought to you by:
mcfletch
From: Karl K. <sup...@cs...> - 2014-09-08 08:08:54
|
I'm running GNU Radio on Windows and was trying to figure out why the WX FFT display wasn't working. It looks like glGenTextures(1) is the culprit. An argument of 1 is special-cased for backwards-compatibility, but this seems to break. Commenting this special case out fixes the FFT display. I think the problem is that a single ulong is passed in to the underlying function, but it always expects an array of ulongs. I think an array should still be passed in, with the first element of the array returned in the special case (instead of the array itself). Of course, this is all voodoo magic to me, so perhaps there's a good reason for the code the way it is. It would be nice for it to work on Windows without hacking the code, though. |