Mesa (gallium-0.2): GLX: Include glapi.h before glapitable.h

Alan Hourihane alanh at kemper.freedesktop.org
Mon Dec 15 11:17:00 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 63cca2ba10ce7dcc8481cfa4be3872dfc269dded
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=63cca2ba10ce7dcc8481cfa4be3872dfc269dded

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Sun Dec 14 18:40:39 2008 -0800

GLX: Include glapi.h before glapitable.h

A previous commit (2dbc515a669be123a019aeb4aa5aae6b1679f6a9) change
some of the interdependencies between these two header files.  Now
glapi.h must be included before glapitable.h.

---

 src/mesa/glapi/glX_proto_recv.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/glapi/glX_proto_recv.py b/src/mesa/glapi/glX_proto_recv.py
index 78bebb2..923c195 100644
--- a/src/mesa/glapi/glX_proto_recv.py
+++ b/src/mesa/glapi/glX_proto_recv.py
@@ -89,8 +89,8 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto):
 		print '#include "glxbyteorder.h"'
 		print '#include "indirect_util.h"'
 		print '#include "singlesize.h"'
-		print '#include "glapitable.h"'
 		print '#include "glapi.h"'
+		print '#include "glapitable.h"'
 		print '#include "glthread.h"'
 		print '#include "dispatch.h"'
 		print ''




More information about the mesa-commit mailing list