Re: [ROOT] WARNING about ROOT with OpenGL

From: Christian Holm Christensen (cholm@nbi.dk)
Date: Wed Nov 17 2004 - 20:48:50 MET


Hi Fons, 

On Wed, 2004-11-17 at 19:42 +0100, Fons Rademakers wrote:
> If you install ATI or NVidia accelerated drivers they come with their
> own libGL.so that is installed over the Mesa one in the same /usr/lib
> location. The includes are not overwritten so they still say 4.0.4 (on
> RH 9). Doing a strings on the NVidia libGL.so I see references to
> "NVIDIA", but are there any references we can find in the bad MesaGL lib
> to distinguish them?

I don't know.  The XFree86 libraries has a lot of `XFree86' strings in
it, so maybe the Mesa ones contain the string `Mesa' somewhere? 

But, you could use 

	glGetString(GL_VENDOR)

(see the attached program). 

Yours,

-- 
 ___  |  Christian Holm Christensen 
  |_| |  -------------------------------------------------------------
    | |  Address: Sankt Hansgade 23, 1. th.  Phone:  (+45) 35 35 96 91
     _|           DK-2200 Copenhagen N       Cell:   (+45) 24 61 85 91
    _|            Denmark                    Office: (+45) 353  25 404
 ____|   Email:   cholm@nbi.dk               Web:    www.nbi.dk/~cholm
 | |





This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET