On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: > Ian Romanick wrote: > > > > On Tue, Apr 23, 2002 at 12:31:46AM +0100, Keith Whitwell wrote: > > > Ian Romanick wrote: > > > > What ends up happening is glXGetProcAddress returns the address of the > > > > glBegin symbol from my executable (in this case the address of the pointer > > > > to function) instead of the address of the glBegin symbol in the library. > > > > Is this behavior to spec? > > > > > > Probably the fact that you are declaring a symbol that is "reserved" by OpenGL > > > invalidates your right to have GL act according to spec. You might get a link > > > error if you tried to link this program against libGL.so, for instance. > > > > So, to put it another way, glXGetProcAddress is working fine, but I'm trying > > to do something that you're not supposed to do. :) > > Well, you're doing something you're not supposed to do & as a result > glXGetProcAddress isn't working right. > > Do you really need to call your symbol glBegin? How about xyzBegin or > similar?
The most common thing I've seen is to call the indirect function: glBeginProc - |Daryll _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel