I found a problem when investigating a failed conformance
test. The CLAMPED_FLOAT_TO_UBYTE_COLOR macro returns the
int 0 instead of 255 when the value 1.0 is passed in. Keith?
When comparing the float->ubyte macros with using a simple
multiply and cast I found the difference in resulting ints to
differ by as much as 2. This could explain another conformance
failure. I'll investigate further.
Also, in gl_AlphaFunc() the GLubyte alpha reference value
was converted from a float using a simple multiply and cast.
The difference between this method and using the optimized
float->ubyte macro caused a conformance failure. I changed
gl_AlphaFunc to fix the problem.
-Brian
----------------------------------------------------------------------
Brian Paul Avid Technology / Softimage [EMAIL PROTECTED]