From: Ben Skeggs Date: Thu, 29 May 2008 14:28:29 +0000 (+1000) Subject: nouveau: oops, more tex-surfaces fallout X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0c0c0d1e67f92df8866e6218b868b3de954a5e1;p=mesa.git nouveau: oops, more tex-surfaces fallout --- diff --git a/src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c b/src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c index 755c8b6997a..2fab1eab652 100644 --- a/src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c +++ b/src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c @@ -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;