[Mesa-dev] [PATCH 2/3] mesa: include mtypes.h in varray.h
Brian Paul
brianp at vmware.com
Thu Jan 25 16:47:59 UTC 2018
We actually use some of the types from mtypes.h so include it directly
instead of relying on indirectly including it via bufferobj.h
---
src/mesa/main/varray.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 6dcf1db..03d81d0 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,
--
2.7.4
More information about the mesa-dev
mailing list