mesa: include mtypes.h in varray.h
authorBrian Paul <brianp@vmware.com>
Thu, 25 Jan 2018 16:16:54 +0000 (09:16 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 25 Jan 2018 19:17:26 +0000 (12:17 -0700)
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 <charmainel@vmware.com>
src/mesa/main/varray.h

index 956553871e3ae78ab4c58194192e581e17080cf1..c27524e3bd711a848fe57eae63198d13a599501a 100644 (file)
 #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,