i965: #include clean-ups
authorBrian Paul <brianp@vmware.com>
Tue, 8 Sep 2009 20:32:56 +0000 (14:32 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 8 Sep 2009 20:33:47 +0000 (14:33 -0600)
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c

index 682094ff139aaa1025c99fbf63a3ceaceb71133f..4411b245402e4d31374680e4aacff95c620bcd5d 100644 (file)
  * 
  **************************************************************************/
 
-#include <stdlib.h>
 
 #include "main/glheader.h"
 #include "main/context.h"
 #include "main/state.h"
-#include "main/api_validate.h"
 #include "main/enums.h"
+#include "tnl/tnl.h"
+#include "vbo/vbo_context.h"
+#include "swrast/swrast.h"
+#include "swrast_setup/swrast_setup.h"
 
 #include "brw_draw.h"
 #include "brw_defines.h"
 #include "intel_batchbuffer.h"
 #include "intel_buffer_objects.h"
 
-#include "tnl/tnl.h"
-#include "vbo/vbo_context.h"
-#include "swrast/swrast.h"
-#include "swrast_setup/swrast_setup.h"
-
 #define FILE_DEBUG_FLAG DEBUG_BATCH
 
 static GLuint prim_to_hw_prim[GL_POLYGON+1] = {
index 97205dac322adbd63dec1b44e410f0d3a343ac3a..27dabc02f3b469723d75dc76be0fd9bb30d64714 100644 (file)
@@ -25,7 +25,6 @@
  * 
  **************************************************************************/
 
-#include <stdlib.h>
 
 #include "main/glheader.h"
 #include "main/bufferobj.h"