[gameprogrammer] Re: GL 2.0 on Xorg w/ ATI's proprietary drivers

On Tue, May 16, 2006 at 01:04:02AM +0300, Sami N??t?nen wrote:

> On Thursday 11 May 2006 00:29, Latimerius wrote:
> >
> > As for the test, it's very simple.  Just try to compile the following
> > program:
> >
> > <snip>
> >
> > #include "GL/gl.h"
> > #include "GL/glext.h"
> >
> > int main ()
> > {
> >     glCreateProgram ();
> > }
> >
> > </snip>
> >
> > using the following command:
> >
> > g++ -g -Wall -DGL_GLEXT_PROTOTYPES -o test test.cpp -lGL
> 
> I think that this has something to do about the fact that you have to 
> query the function pointers. Earlier NVidia drivers had this requrement 
> too.
> 
> Now this works as it should, IF you use the nvidia glext.h as you 
> obviously seem to in the NVidia machine.

Hmmm ... I can compare GL headers on both machines but 
querying pointers should not be needed when using core API.

Anyway, even with querying function pointers libGL.so should contain
string "CreateProgram", is that right?  When I extract all strings (i.e
not just linker symbols) from libGL.so (using 'strings' program) there's
no such string.

        latimerius



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: