Created attachment 154 [details]
Gray image, which produce the error.
While loading a gray texture, TextureIO generates a GLException with an INVALID_ENUM error.
It would work with the enum DEPTH_COMPONENT.
Used graphics crads:
NVIDIA GeForce 9600 GT (Driver date 09.07.2010 & version 188.8.131.5221)
NVIDIA Quadro FX 570M (Driver date 07.06.2010 & version 184.108.40.20696)
Newest available build archive used.
Used a OpenGL 3.0 core profile.
I created a unit test for this bug and ran it, and it works now. The bug must have been fixed some time after it was entered without us realizing it.
The unit test will make sure that the fix can't regress in the future. The pull request for the unit test is at https://github.com/sgothel/jogl/pull/16.
The bug reporter might want to verify that this unit test accurately reproduces his failing case.
> The bug reporter might want to verify that this unit test accurately reproduces
> his failing case.
For the moment I have to wait till the next build is available.
It should already be fixed in the build at http://jogamp.org/deployment/autobuilds/master/jogl-b266-2010-12-23_06-40-52/. That's the build I tested against.
If you still see the bug in this build, could you submit your test code?