intel: Include stdbool so we can stop using GLboolean when we want to.
authorEric Anholt <eric@anholt.net>
Mon, 13 Dec 2010 19:02:15 +0000 (11:02 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 13 Dec 2010 22:02:34 +0000 (14:02 -0800)
This requires shuffling the driconf XML macros around, since they use
true and false tokens expecting them to not get expanded to anything.

src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_screen.c

index 96493c0f2bb5810e1f63c0821b48b6166727c52e..53a11ba9a7e4f1b7f911979a09ffcc2726d37e83 100644 (file)
@@ -29,7 +29,7 @@
 #define INTELCONTEXT_INC
 
 
-
+#include <stdbool.h>
 #include "main/mtypes.h"
 #include "main/mm.h"
 #include "dri_metaops.h"
index 3f13589a214c39d1eea7cf169bd532936c14c15e..d683e675328e1ba0effaa2d162427b1f931999e3 100644 (file)
 #include "utils.h"
 #include "xmlpool.h"
 
-#include "intel_batchbuffer.h"
-#include "intel_buffers.h"
-#include "intel_bufmgr.h"
-#include "intel_chipset.h"
-#include "intel_fbo.h"
-#include "intel_screen.h"
-#include "intel_tex.h"
-#include "intel_regions.h"
-
-#include "i915_drm.h"
-
-#define DRI_CONF_TEXTURE_TILING(def) \
-
 PUBLIC const char __driConfigOptions[] =
    DRI_CONF_BEGIN
    DRI_CONF_SECTION_PERFORMANCE
@@ -92,6 +79,17 @@ DRI_CONF_END;
 
 const GLuint __driNConfigOptions = 11;
 
+#include "intel_batchbuffer.h"
+#include "intel_buffers.h"
+#include "intel_bufmgr.h"
+#include "intel_chipset.h"
+#include "intel_fbo.h"
+#include "intel_screen.h"
+#include "intel_tex.h"
+#include "intel_regions.h"
+
+#include "i915_drm.h"
+
 #ifdef USE_NEW_INTERFACE
 static PFNGLXCREATECONTEXTMODES create_context_modes = NULL;
 #endif /*USE_NEW_INTERFACE */