Steve Baker (sbaker++at++link.com)
Fri, 19 Jun 1998 15:51:23 -0500 (CDT)
I have to be aware of the fact that most SGI boxes only
run OpenGL 1.0.
So, I wrote:
#ifdef GL_VERSION_1_2 /* Wishful thinking */
glBlendColor ( red, green, blue, alpha ) ;
#else
#ifdef GL_VERSION_1_1
glBlendColor ( red, green, blue, alpha ) ;
#else
#ifdef GL_EXT_blend_color
glBlendColorEXT ( red, green, blue, alpha ) ;
#else
fprintf ( stderr, " glBlendColor isn't supported on this OpenGL!\n" ) ;
#endif
#endif
#endif
....but on ONYX-2 IRIX 6.4, the token GL_VERSION_1_1 is defined
and yet there is no definition for glBlendColor() in the
gl.h header file.
I think this is a bug - I can't think of a more 'correct' way
to write this code.
The same thing happens with glBlendEquation.
Steve Baker (817)619-8776 (Vox/Vox-Mail)
Raytheon Systems Inc. (817)619-4028 (Fax)
Work: SBaker++at++link.com http://www.hti.com
Home: SJBaker1++at++airmail.net http://web2.airmail.net/sjbaker1
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:34 PDT