[Piglit] [PATCH] egl_khr_create_context: Fix build error with old eglext.h
Matt Turner
mattst88 at gmail.com
Wed Nov 28 00:24:48 PST 2012
On Tue, Nov 27, 2012 at 6:25 PM, Ken Phillis Jr <kphillisjr at gmail.com> wrote:
> This commit did not fix the issue. This commit will only attempt to
> define the variable if it's already defined. The more correct fix is
> to use "#ifndef" instead of "#ifdef" it's specific.
>
> So to be exact, this line:
> #ifdef EGL_OPENGL_ES3_BIT_KHR
>
> should be either:
> #ifndef EGL_OPENGL_ES3_BIT_KHR
>
> or: ( This is only required on extremely outdated compilers... most
> support #ifndef)
> #if !defined(EGL_OPENGL_ES3_BIT_KHR)
It was just a typo. Anyway, fixed.
More information about the Piglit
mailing list