Module: Mesa
Branch: master
Commit: 362a25aac5f8cd71c08ad92b4b19be6712d8fd72
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=362a25aac5f8cd71c08ad92b4b19be6712d8fd72

Author: Marek Olšák <[email protected]>
Date:   Sun Aug 12 18:36:52 2012 +0200

r600g: remove unused parameter in r600_texture_create_object

---

 src/gallium/drivers/r600/r600_texture.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_texture.c 
b/src/gallium/drivers/r600/r600_texture.c
index d957b26..913cbb6 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -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);
 }
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to