Hey guys,
So I’m trying to use gl.glReadPixels to do some occlusion testings and I get a following error:
Exception in thread "Thread-2" javax.media.opengl.GLException: javax.media.opengl.GLException:
pack pixel_buffer_object must be enabled to call this method
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
...............
Now I tried to enable that extension using gl.glEnable(GL.EXT_pixel_buffer_object) or something like that, but there is no such extension, or at least the API doesn’t specify it.
Also when I run this:
String extensions = gl.glGetString(GL.GL_EXTENSIONS);
System.out.println(extensions);
I get the GL_EXT_pixel_buffer_object listed in there.
Any help would be appreciated.
Thanks.