summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-05-30 00:28:29 +1000
committerBen Skeggs <[email protected]>2008-05-30 00:28:29 +1000
commitd0c0c0d1e67f92df8866e6218b868b3de954a5e1 (patch)
tree960b3859c172666e33029cbf74c47076a54525bf /src/gallium/winsys
parentfa4b2439d4f240a5e573d4ea198b829791d614f4 (diff)
nouveau: oops, more tex-surfaces fallout
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c3
1 files changed, 2 insertions, 1 deletions
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;