diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-10 12:13:00 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-10 12:13:00 +1100 |
commit | 9ba3890c6f35701df5c7ea94cfac9954e9cbec2e (patch) | |
tree | e0e32f35b59c843333803a92d02dc72cc436f278 /src/mesa/pipe | |
parent | 5c1a5b504705214fd5e90b33bb3034e75f6b5994 (diff) |
nouveau: fix build
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_fragprog.c | 2 | ||||
-rw-r--r-- | src/mesa/pipe/nv40/nv40_miptree.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_fragprog.c b/src/mesa/pipe/nv40/nv40_fragprog.c index 8f3eeb1f48..cc3cb97043 100644 --- a/src/mesa/pipe/nv40/nv40_fragprog.c +++ b/src/mesa/pipe/nv40/nv40_fragprog.c @@ -695,7 +695,7 @@ nv40_fragprog_bind(struct nv40_context *nv40, struct nv40_fragment_program *fp) if (!fp->on_hw) { if (!fp->buffer) - fp->buffer = ws->buffer_create(ws, 0x100); + fp->buffer = ws->buffer_create(ws, 0x100, 0, 0); #if 0 int i; diff --git a/src/mesa/pipe/nv40/nv40_miptree.c b/src/mesa/pipe/nv40/nv40_miptree.c index 45711f064d..3844dd9dda 100644 --- a/src/mesa/pipe/nv40/nv40_miptree.c +++ b/src/mesa/pipe/nv40/nv40_miptree.c @@ -68,7 +68,7 @@ nv40_miptree_create(struct pipe_context *pipe, struct pipe_texture **pt) memcpy(&nv40mt->base, mt, sizeof(struct pipe_texture)); nv40_miptree_layout(nv40mt); - nv40mt->buffer = ws->buffer_create(ws, PIPE_SURFACE_FLAG_TEXTURE); + nv40mt->buffer = ws->buffer_create(ws, 0, PIPE_SURFACE_FLAG_TEXTURE, 0); if (!nv40mt->buffer) { free(nv40mt); return; |