Mesa (master): mesa: include mtypes.h in varray.h

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 25 19:22:34 UTC 2018


Module: Mesa
Branch: master
Commit: ba01589c0c10e479434fac1391c1f35f1f9081e6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba01589c0c10e479434fac1391c1f35f1f9081e6

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan 25 09:16:54 2018 -0700

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 <charmainel at vmware.com>

---

 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 956553871e..c27524e3bd 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,




More information about the mesa-commit mailing list