[virglrenderer-devel] [PATCH 1/4] vrend_renderer.h: include GL/gl.h because it is actually needed here
Gert Wollny
gert.wollny at collabora.com
Wed Jun 13 10:19:21 UTC 2018
Am Mittwoch, den 13.06.2018, 19:15 +1000 schrieb Dave Airlie:
>
> Pretty sure we never include GL headers if using epoxy.
Then another include must be missing, because the GL* types are not
defined when this file is included first, I'll check
Best,
Gert
>
> Dave.
>
> On Wed., 13 Jun. 2018, 19:07 Gert Wollny, <gert.wollny at collabora.com>
> wrote:
> > Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
> > ---
> > src/vrend_renderer.h | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/src/vrend_renderer.h b/src/vrend_renderer.h
> > index 5554edb..b0e70cf 100644
> > --- a/src/vrend_renderer.h
> > +++ b/src/vrend_renderer.h
> > @@ -30,6 +30,7 @@
> > #include "virgl_protocol.h"
> > #include "vrend_iov.h"
> > #include "virgl_hw.h"
> > +#include <GL/gl.h>
> >
> > typedef void *virgl_gl_context;
> > typedef void *virgl_gl_drawable;
> > _______________________________________________
> > virglrenderer-devel mailing list
> > virglrenderer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/virglrenderer-devel
More information about the virglrenderer-devel
mailing list