nouveau: oops, more tex-surfaces fallout
authorBen Skeggs <skeggsb@gmail.com>
Thu, 29 May 2008 14:28:29 +0000 (00:28 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Thu, 29 May 2008 14:28:29 +0000 (00:28 +1000)
src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c

index 755c8b6997ad3c293db3b6e6baa1a789a361fa3a..2fab1eab652aff18906e6a3979d7f7060ec877a3 100644 (file)
@@ -42,7 +42,8 @@ nouveau_surface_alloc(struct pipe_winsys *ws)
 static int
 nouveau_surface_alloc_storage(struct pipe_winsys *ws, struct pipe_surface *surf,
                              unsigned width, unsigned height,
-                             enum pipe_format format, unsigned flags)
+                             enum pipe_format format, unsigned flags,
+                             unsigned tex_usage)
 {
        unsigned pitch = ((width * pf_get_size(format)) + 63) & ~63;