[Mesa-dev] [PATCH] Remove GL_GLEXT_PROTOTYPES guards from non-ext headers.
Ilia Mirkin
imirkin at alum.mit.edu
Mon Sep 12 13:51:47 UTC 2016
On Mon, Sep 12, 2016 at 8:37 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> A earlier sync with the Khronos headers added _extension_ prototype
> guards to all the GLES2/3/31/32 core entry points. Effectively breaking
> all the applications that aim to be portable and do not set the define.
>
> The issue has been reported to Khronos (internal bugzilla #14206) and is
> being worked on. Until updated/fixed headers are released locally fix
> the issue.
>
> The following report is when building weston.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97773
>
> Cc: Armin Krezović <krezovic.armin at gmail.com>
> Cc: Emmanuel Gil Peyrot <emmanuel.peyrot at collabora.com>
> Cc: Pekka Paalanen <ppaalanen at gmail.com>
> Fixes: 6a5504de2fb ("Update Khronos-supplied headers to r33100")
> Cc: Ilia Mirkin <imirkin at alum.mit.edu>
> Cc: Dave Airlie <airlied at redhat.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Seems perfectly reasonable to me. IIRC I proposed something like this
when the issue was first brought up. So this gets my
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
Separately (i.e. doesn't have to be done in this change), now that the
patches against KHR headers are growing (the apple thing, now this),
perhaps we might consider keeping a diff checked into the tree so that
it can be easily applied by the next poor sap who imports updated
versions.
Cheers,
-ilia
More information about the mesa-dev
mailing list