diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-05-30 00:28:29 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-05-30 00:28:29 +1000 |
commit | d0c0c0d1e67f92df8866e6218b868b3de954a5e1 (patch) | |
tree | 960b3859c172666e33029cbf74c47076a54525bf /src/gallium/winsys/dri/nouveau | |
parent | fa4b2439d4f240a5e573d4ea198b829791d614f4 (diff) |
nouveau: oops, more tex-surfaces fallout
Diffstat (limited to 'src/gallium/winsys/dri/nouveau')
-rw-r--r-- | src/gallium/winsys/dri/nouveau/nouveau_winsys_pipe.c | 3 |
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 755c8b6997..2fab1eab65 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; |