Khalifa Lame
2014-10-23 14:38:02 UTC
glReadPixels() returns None. I'm sure it shouldn't be empty, I did some
clearing and drawing beforehand.
I even tried specifying the buffer to draw to using glDrawBuffer() and
glReadBuffer. Tried with GL_BACK and GL_AUX_BUFFERS. Both turn up empty.
Is there something i'm missing?
Another weird thing, the preview window shows some colored dots when in
fact, the data fed to it was the empty result from glReadPixels().
I'm new to openGL programming and even newer to bgl.
clearing and drawing beforehand.
I even tried specifying the buffer to draw to using glDrawBuffer() and
glReadBuffer. Tried with GL_BACK and GL_AUX_BUFFERS. Both turn up empty.
Is there something i'm missing?
Another weird thing, the preview window shows some colored dots when in
fact, the data fed to it was the empty result from glReadPixels().
I'm new to openGL programming and even newer to bgl.
--
khalibloo®
khalibloo®