Re: [Dri-devel] glXGetProcAddress question

2002-04-27 Thread Jens Owen
Ian Romanick wrote: > > The big issue being backwards > compatability. We need to not only provide it in the DRI drivers, but we > need to (try to) provide it in applications that use libGL.so. Absolutely, and we don't the advantage of having someone like Linus point this out to us, instead we'

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 repl

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 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 exe

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

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

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 prob

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

Re: [Dri-devel] glXGetProcAddress question

2002-04-22 Thread Ian Romanick
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 sym

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

[Dri-devel] glXGetProcAddress question

2002-04-22 Thread Ian Romanick
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" ); } (*glBegin)( m