r600g: remove unused parameter in r600_texture_create_object
authorMarek Olšák <maraeo@gmail.com>
Sun, 12 Aug 2012 16:36:52 +0000 (18:36 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 16 Aug 2012 18:44:53 +0000 (20:44 +0200)
src/gallium/drivers/r600/r600_texture.c

index d957b26f3dd350b609d55c54235887567eb4785b..913cbb6cdcdbbdc1258a626f63a64c2675545e33 100644 (file)
@@ -257,7 +257,6 @@ static const struct u_resource_vtbl r600_texture_vtbl =
 static struct r600_resource_texture *
 r600_texture_create_object(struct pipe_screen *screen,
                           const struct pipe_resource *base,
-                          unsigned array_mode,
                           unsigned pitch_in_bytes_override,
                           struct pb_buffer *buf,
                           boolean alloc_bo,
@@ -335,7 +334,7 @@ struct pipe_resource *r600_texture_create(struct pipe_screen *screen,
        if (r) {
                return NULL;
        }
-       return (struct pipe_resource *)r600_texture_create_object(screen, templ, array_mode,
+       return (struct pipe_resource *)r600_texture_create_object(screen, templ,
                                                                  0, NULL, TRUE, &surface);
 }
 
@@ -405,7 +404,7 @@ struct pipe_resource *r600_texture_from_handle(struct pipe_screen *screen,
        if (r) {
                return NULL;
        }
-       return (struct pipe_resource *)r600_texture_create_object(screen, templ, array_mode,
+       return (struct pipe_resource *)r600_texture_create_object(screen, templ,
                                                                  stride, buf, FALSE, &surface);
 }