Summary: | TextureIO cannot load gray images. | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | mmce |
Component: | opengl | Assignee: | Sven Gothel <sgothel> |
Status: | VERIFIED FIXED | ||
Severity: | trivial | CC: | wwalker3 |
Priority: | P5 | ||
Version: | 2 | ||
Hardware: | All | ||
OS: | windows | ||
Type: | --- | SCM Refs: | |
Workaround: | --- | ||
Attachments: | Gray image, which produce the error. |
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? |
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 8.17.12.5721) NVIDIA Quadro FX 570M (Driver date 07.06.2010 & version 8.17.12.5896) Newest available build archive used. Used a OpenGL 3.0 core profile.