[PATCH] Stop defining GL_GLEXT_PROTOTYPES
Eric Anholt
eric at anholt.net
Tue Feb 4 22:45:54 PST 2014
Keith Packard <keithp at keithp.com> writes:
> It looks like GL_GLEXT_PROTOTYPES is just a trap for the unwary,
> causing glext.h to define a pile of functions which are also defined
> in gl.h.
>
> However, there is *one* function used in the server which is not
> defined in gl.h and is only defined in glext.h when
> GL_GLEXT_PROTOTYPES is defined, glGetCompressedTexImageARB.
>
> I've explicitly defined that and added a warning message to the
> compiler output as I don't know what the right fix is, but I suspect
> it involves looking the function up with GetProcAddress, and I suspect
> Eric will fix this by moving the server to libepoxy.
>
> Signed-off-by: Keith Packard <keithp at keithp.com>
You can't actually use the prototype in indirect_texture_compression.c.
See my patch series I sent earlier. And this would conflict with my
glamor series I'd already sent out for review, too. So I don't want
this patch to go in as is.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140204/988fcd29/attachment.pgp>
More information about the xorg-devel
mailing list