diff options
Diffstat (limited to 'src/mesa/pipe/nv40/nv40_context.c')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_context.c b/src/mesa/pipe/nv40/nv40_context.c index 7b77c70e81..518ba3574f 100644 --- a/src/mesa/pipe/nv40/nv40_context.c +++ b/src/mesa/pipe/nv40/nv40_context.c @@ -241,8 +241,8 @@ nv40_create(struct pipe_winsys *pipe_winsys, struct nouveau_winsys *nvws, return NULL; } - if (nvws->res_init(&nv40->vertprog.exec_heap, 512) || - nvws->res_init(&nv40->vertprog.data_heap, 256)) { + if (nvws->res_init(&nv40->vertprog.exec_heap, 0, 512) || + nvws->res_init(&nv40->vertprog.data_heap, 0, 256)) { nvws->res_free(&nv40->vertprog.exec_heap); nvws->res_free(&nv40->vertprog.data_heap); free(nv40); |