<p dir="ltr"><br>
On Aug 18, 2014 3:49 AM, "Kristian Høgsberg" <<a href="mailto:krh@bitplanet.net">krh@bitplanet.net</a>> wrote:<br>
><br>
> On Sun, Aug 17, 2014 at 7:19 AM, Ken Phillis Jr <<a href="mailto:kphillisjr@gmail.com">kphillisjr@gmail.com</a>> wrote:<br>
> > This patch looks good to me.<br>
> ><br>
> > On Aug 17, 2014 7:39 AM, "Daniel Kurtz" <<a href="mailto:djkurtz@chromium.org">djkurtz@chromium.org</a>> wrote:<br>
> >><br>
> >> EGL util should not in any way depend on the headers of a particular<br>
> >> client library.<br>
> >><br>
> >> In fact, this breaks compilation on pure OpenGL ES systems, since they<br>
> >> do not have OpenGL headers installed (<GL/gl.h>).<br>
> >><br>
> >> Signed-off-by: Daniel Kurtz <<a href="mailto:djkurtz@chromium.org">djkurtz@chromium.org</a>><br>
> >> ---<br>
> >> I've test built this change on two different systems with EGL/OpenGL<br>
> >> ES-only<br>
> >> (ARM Mali and Nvidia Tegra).<br>
> >><br>
> >> I have not built on a system with EGL + OpenGL, or mixed GL/GLES... does<br>
> >> anybody have a system like that and can double check?<br>
><br>
> It certainly shouldn't be in the header, but egl-util.c needs it and<br>
> breaks if you remove it.</p>
<p dir="ltr">egl-util.c builds fine for GLES without <GL/gl.h> (and breaks with it).  Why is it needed for GL?  What am I missing?</p>
<p dir="ltr">> Kristian<br>
><br>
> >><br>
> >> Also, I do not have commit access, so can someone please submit this for<br>
> >> me if<br>
> >> it looks good?<br>
> >><br>
> >> Thanks,<br>
> >> -djk<br>
> >><br>
> >>  tests/egl/egl-util.h | 1 -<br>
> >>  1 file changed, 1 deletion(-)<br>
> >><br>
> >> diff --git a/tests/egl/egl-util.h b/tests/egl/egl-util.h<br>
> >> index f5c74fd..27d2926 100644<br>
> >> --- a/tests/egl/egl-util.h<br>
> >> +++ b/tests/egl/egl-util.h<br>
> >> @@ -12,7 +12,6 @@<br>
> >>  #include <X11/Xlib.h><br>
> >>  #include <X11/Xutil.h><br>
> >>  #include <X11/keysym.h><br>
> >> -#include <GL/gl.h><br>
> >>  #include <EGL/egl.h><br>
> >>  #include <EGL/eglext.h><br>
> >><br>
> >> --<br>
> >> 2.1.0.rc2.206.gedb03e5<br>
> >><br>
> >> _______________________________________________<br>
> >> Piglit mailing list<br>
> >> <a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
> >> <a href="http://lists.freedesktop.org/mailman/listinfo/piglit">http://lists.freedesktop.org/mailman/listinfo/piglit</a></p>