vrend_renderer.h: include epoxy/gl.h because it is actually needed here (v2)

v2: With epoxy GL/gl.h is not directly included (Dave Airlie).
    Instead move the include of epoxy/gl.h from vrend_renderer.c to
    vrend_renderer.h

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
macos/master
Gert Wollny 7 years ago committed by Dave Airlie
parent 77a42bc8f0
commit 50d7d36733
  1. 2
      src/vrend_renderer.c
  2. 1
      src/vrend_renderer.h

@ -25,8 +25,6 @@
#include "config.h" #include "config.h"
#endif #endif
#include <epoxy/gl.h>
#include <unistd.h> #include <unistd.h>
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>

@ -30,6 +30,7 @@
#include "virgl_protocol.h" #include "virgl_protocol.h"
#include "vrend_iov.h" #include "vrend_iov.h"
#include "virgl_hw.h" #include "virgl_hw.h"
#include <epoxy/gl.h>
typedef void *virgl_gl_context; typedef void *virgl_gl_context;
typedef void *virgl_gl_drawable; typedef void *virgl_gl_drawable;

Loading…
Cancel
Save