i965/tex: Change the flags type on create_for_teximage
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 19 Aug 2017 21:54:42 +0000 (14:54 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Aug 2017 03:14:49 +0000 (20:14 -0700)
This matches the actual function declaration.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_tex.h

index 376f075c9ee03ecde215bc8e4788d4df6639030f..beefc4b61b0c9f33c5c1e71c2a33b5400009622f 100644 (file)
@@ -49,7 +49,7 @@ struct intel_mipmap_tree *
 intel_miptree_create_for_teximage(struct brw_context *brw,
                                  struct intel_texture_object *intelObj,
                                  struct intel_texture_image *intelImage,
-                                  uint32_t layout_flags);
+                                  enum intel_miptree_create_flags flags);
 
 void intel_finalize_mipmap_tree(struct brw_context *brw, GLuint unit);