summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_screen.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-17 23:55:23 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:19 +1000
commit714cb4a86c1f503334b37ca6c24272fa1bdf7899 (patch)
tree5b1f6f81bc3ec761a8fd4a9d6fd48a1603bb7a07 /src/gallium/drivers/nv50/nv50_screen.c
parent3b88c3f4112a8bac52b7f7e613b1c2df8a14b752 (diff)
nv50: make sure static buffers (constbuf, tex control etc) get on reloc list
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.c')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.c b/src/gallium/drivers/nv50/nv50_screen.c
index 18f22c59609..5b4c5f96ac3 100644
--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -273,7 +273,7 @@ nv50_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
so_data (so, 1);
so_emit(nvws, so);
- so_ref(NULL, &so);
+ so_ref(so, &screen->static_init);
nvws->push_flush(nvws, 0, NULL);
screen->pipe.winsys = ws;