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 755c8b6..2fab1ea 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;