Re: [Dri-devel] glXGetProcAddress question

2002-04-26 Thread Daryll Strauss
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

Re: [Dri-devel] glXGetProcAddress question

2002-04-26 Thread Ian Romanick
On Wed, Apr 24, 2002 at 04:49:34PM -0600, Brian Paul wrote: Brian Paul wrote: Perhaps you should try out this change before I commit it to the DRI. Try editing build/xc/lib/GL/GL/Makefile, look for the line that has the string -Wl,-soname and replace it with -Wl,-Bsymbolic,-soname.

Re: [Dri-devel] glXGetProcAddress question

2002-04-26 Thread Brian Paul
Ian Romanick wrote: On Wed, Apr 24, 2002 at 04:49:34PM -0600, Brian Paul wrote: Brian Paul wrote: Perhaps you should try out this change before I commit it to the DRI. Try editing build/xc/lib/GL/GL/Makefile, look for the line that has the string -Wl,-soname and replace it with

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Ian Romanick
On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: 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? I have managed to solve this problem

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Keith Whitwell
Ian Romanick wrote: On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: 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? I have

Re: [Dri-devel] glXGetProcAddress question

2002-04-24 Thread Brian Paul
Ian Romanick wrote: On Tue, Apr 23, 2002 at 12:49:20AM +0100, Keith Whitwell wrote: 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? I have

Re: [Dri-devel] glXGetProcAddress question

2002-04-22 Thread Keith Whitwell
Ian Romanick wrote: I may be totally misunderstanding glXGetProcAddress, but it seems to me that the following *should* be valid: void (*glBegin)( GLenum mode ) = NULL; void begin_wrapper( GLenum mode ) { if ( glBegin == NULL ) { glBegin = glXGetProcAddress( glBegin

Re: [Dri-devel] glXGetProcAddress question

2002-04-22 Thread Keith Whitwell
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