Imagination PowerVR SDK Blog

glColor4u bug


#1

Hello,

 

I use the OpenGL ES emulator (Imagination TechnologiesPowerVR SDKOGLES-1.1_WIN_2.03.23.1162).

I found a bug in the glColor4ub function with the alpha value, any value != 0 is maximal value (so there is no transparency).

I have a workaround, I used the glColor4x function instead, but I would like to know if that bug is / will be corrected in next versions?

 

Thanks

 

D.

#2

I tried also with OGLES-1.1_WINDOWS_PCEMULATION_2.04.24.0811 and got the same bug…


#3

Thanks for reporting this bug. This will be fixed in the next release, please continue to use the glColor4[x|f] workaround till then. (Bug reference: BRN26947)Xmas2009-04-02 14:15:50


#4

Just in case. . .


Issuing the following:

 

   glColor4ub( 1, 0, 0, x )

 

will set the color to fully RED.