cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

j_dupuy
Adept I

texture internalFormat bugs

This is a bug report for catalyst 12.6.

It seems that internalFormats GL_R3_G3_B2 and GL_RGBA2 are not implemented, I'm expecting these two commands to render the same texture:

TexImage2D([...],GL_R3_G3_B2, [...], GL_RGB, GL_UNSIGNED_BYTE);

TexImage2D([...],GL_R3_G3_B2, [...], GL_RGB, GL_UNSIGNED_BYTE_3_3_2);

I've uploaded simple source code, makefile and vs2010 solution which are available here: https://github.com/jdupuy/textureInternalFormat/zipball/master

(builds and runs on Ubuntu6410.10 and above and Windows7 x64)

The code shows the generated texture above the expected texture (see below).

GL_RGBA4 is ok (both textures are identical):

rgba4ok.png

... but GL_R3_B3_B2 is not working:

r3g3b2nok.png

Cheers,

J

0 Likes
1 Solution
j_dupuy
Adept I

0 Likes
1 Reply
j_dupuy
Adept I

0 Likes