aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-25 09:16:54 -0700
committerBrian Paul <[email protected]>2018-01-25 12:17:26 -0700
commitba01589c0c10e479434fac1391c1f35f1f9081e6 (patch)
treefec02a8fd5e31c94c07ae28a0bfc6dbabbf95fa2 /src/mesa/main
parente4504be6fc3d18273b6dd739a621b2c5b4385758 (diff)
mesa: include mtypes.h in varray.h
We actually use some of the types from mtypes.h so include it directly instead of relying on indirectly including it via bufferobj.h Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/varray.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 956553871e3..c27524e3bd7 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -28,11 +28,9 @@
#define VARRAY_H
-#include "glheader.h"
+#include "mtypes.h"
#include "bufferobj.h"
-struct gl_vertex_array;
-struct gl_context;
/**
* Returns a pointer to the vertex attribute data in a client array,