Exception in thread “AWT-EventQueue-0” javax.media.opengl.GLException: unpack pixel_buffer_object must be enabled to call this method
at com.sun.opengl.impl.GLImpl.checkBufferObject(GLImpl.java:28017)
at com.sun.opengl.impl.GLImpl.checkUnpackPBOEnabled(GLImpl.java:28037)
at com.sun.opengl.impl.GLImpl.glTexImage2D(GLImpl.java:19597)
at somepath.TextureLoader$Texture.testRoomForActive(TextureLoader.java:278)
The call that fires off this execption is…
gl.glTexImage2D(cubeMap ? GL.GL_PROXY_TEXTURE_CUBE_MAP
: GL.GL_PROXY_TEXTURE_2D, 0, boxelFormat, width, height, 0,
colorFormat, GL.GL_BYTE, 0);
Its my understanding that you can pass 0 (aka null) as the 8th argument to glTexImage2D when the 1st argument is a PROXY without having to jump through PBO hoops. This code worked fine on windows, osx and linux across 8 different graphic cards when I wrote it using1.1rc10 but now it now breaks on 1.1.1…