Stephen J Baker wrote: > > On Sat, 11 Sep 1999, Brian Paul wrote: > > > [cross-posting] > > > > I've implemented this extension in Mesa 3.1 and checked it into > > the CVS repository. I also implemented GLU_EXT_get_proc_address > > and GLX_EXT_get_proc_address. Only the core extension has been > > documented in the Mesa/docs/ directory at this time. > > > > These extensions are still subject to change but I felt it > > would be useful/educational to write an initial implementation. > > Hopefully they'll be acceptable for the Mesa 3.1 beta 3 > > release due next week. > > One place where this would be of immediate and enormous use > would be in detecting the XMesaSetFXmode call...but that doesn't > obviously fall into any of the scope of this stuff. > > Could this call now be considered a GLX extension so I can > test for it sensibly? > > There is currently no way to check for the existance of this - > even at compile time! The XMesaSetFXMode() function was added in Mesa 2.6. You can test the XMESA_MAJOR_VERSION and XMESA_MINOR_VERSION preprocessor symbols at compile time to see if you have a version >= 2.6. Similarly, at runtime you can call XMesaGetString(XMESA_VERSION) to get the runtime version number. I suppose an XMesa extension would have been better. -Brian _______________________________________________ Mesa-dev maillist - [EMAIL PROTECTED] http://lists.mesa3d.org/mailman/listinfo/mesa-dev
