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

Author: Vinson Lee <[email protected]>
Date:   Mon Aug  2 23:53:23 2010 -0700

mesa: Reduce header file inclusion in syncobj.h.

syncobj.h doesn't use any additional symbols that is added by context.h.

---

 src/mesa/main/syncobj.h |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/syncobj.h b/src/mesa/main/syncobj.h
index f23fa28..c535119 100644
--- a/src/mesa/main/syncobj.h
+++ b/src/mesa/main/syncobj.h
@@ -31,7 +31,10 @@
 #ifndef SYNCOBJ_H
 #define SYNCOBJ_H
 
-#include "context.h"
+#include "glheader.h"
+#include "mtypes.h"
+
+struct dd_function_table;
 
 extern void
 _mesa_init_sync_object_functions(struct dd_function_table *driver);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to