7.0 configure of xdriinfo
Matthias Hopf
mhopf at suse.de
Mon Jan 16 02:56:13 PST 2006
On Jan 14, 06 05:50:21 -0700, Brian Paul wrote:
> Eric Anholt wrote:
> >On Fri, 2006-01-13 at 17:08 +0100, Matthias Hopf wrote:
> >>The configure script for xdriinfo checks for glXGetProcAddress. This is
> >>only part of the not-yet released GLX 1.4 spec. Up to GLX 1.3 only
> >>glXGetProcAddressARB is available.
> >
> >If you don't define GLX_GLXEXT_LEGACY before including GL headers, you
> >won't get the prototype on DRI machines, and as a result the app will
> >segfault on amd64 due to the guessed prototype being wrong.
>
> If you don't define GLX_GLXEXT_LEGACY you should be getting the
> declarations that are in glxext.h - that's generally what you want.
>
> To get prototypes, you must #define GLX_GLXEXT_PROTOTYPES first.
Ah, crap. Here it hits me again! This "we had a glXGetProcAddressARB
prototype in old glxext.h, but none in the new one"...
Actually, the code already had a GLX_GLXEXT_LEGACY defined, therefore I
didn't notice.
Fixed it.
Matthias
--
Matthias Hopf <mhopf at suse.de> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat at mshopf.de
Phone +49-911-74053-715 __) |_| __) |__ labs www.mshopf.de
More information about the xorg
mailing list