Squashed commit of the following:
[mesa.git] / src / gallium / auxiliary / util / u_gen_mipmap.h
index 54608f9466dafc108eebbfd7685cd108e8bd3466..a7502b9982b082add8a550e36b61ff50bc5e835a 100644 (file)
@@ -37,7 +37,7 @@ extern "C" {
 
    
 struct pipe_context;
-struct pipe_texture;
+struct pipe_resource;
 struct cso_context;
 
 struct gen_mipmap_state;
@@ -59,7 +59,7 @@ util_gen_mipmap_flush( struct gen_mipmap_state *ctx );
 
 extern void
 util_gen_mipmap(struct gen_mipmap_state *ctx,
-                struct pipe_texture *pt,
+                struct pipe_sampler_view *psv,
                 uint face, uint baseLevel, uint lastLevel, uint filter);