GLX: Include glapi.h before glapitable.h
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Dec 2008 02:40:39 +0000 (18:40 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 15 Dec 2008 02:46:17 +0000 (18:46 -0800)
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

index 78bebb2dfe46c1e3936c40ebc9c54fd162082972..923c1958f0fab361f06a4cb997d2ec4b7926b486 100644 (file)
@@ -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 ''