Bug 417 - TextureIO cannot load gray images.
Summary: TextureIO cannot load gray images.
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: All windows
: P5 trivial
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2010-10-20 01:08 CEST by mmce
Modified: 2011-01-19 22:36 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments
Gray image, which produce the error. (4.76 KB, image/png)
2010-10-20 01:08 CEST, mmce
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mmce 2010-10-20 01:08:09 CEST
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.
Comment 1 Wade Walker 2011-01-05 03:06:02 CET
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.
Comment 2 mmce 2011-01-19 22:26:24 CET
> 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.
Comment 3 Wade Walker 2011-01-19 22:36:09 CET
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?