intel: replace extern decl with #include
authorBrian Paul <brianp@vmware.com>
Mon, 12 Oct 2009 23:41:47 +0000 (17:41 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 13 Oct 2009 00:12:00 +0000 (18:12 -0600)
src/mesa/drivers/dri/intel/intel_mipmap_tree.c

index cc23a8905a342917788bd8d29cc00ea4898d5617..26ebcf390799eb82d6b8a93d7d2d8a48663a0127 100644 (file)
@@ -28,6 +28,7 @@
 #include "intel_context.h"
 #include "intel_mipmap_tree.h"
 #include "intel_regions.h"
+#include "intel_tex_layout.h"
 #include "intel_chipset.h"
 #ifndef I915
 #include "brw_state.h"
@@ -500,7 +501,7 @@ intel_miptree_image_data(struct intel_context *intel,
    }
 }
 
-extern void intel_get_texture_alignment_unit(GLenum, GLuint *, GLuint *);
+
 /* Copy mipmap image between trees
  */
 void