nouveau: call nouveau_pushbuf directly rather than going through nvws
[mesa.git] / src / gallium / drivers / nv30 / nv30_screen.c
index d395c5e1b7f5db77a52ea582d6fc2c50a38ea6a6..772eb78566a7ac5cf3507ed9fc80e503940bb205 100644 (file)
@@ -303,7 +303,7 @@ nv30_screen_create(struct pipe_winsys *ws, struct nouveau_winsys *nvws)
 
        so_emit(nvws, so);
        so_ref(NULL, &so);
-       nvws->push_flush(nvws, 0, NULL);
+       nouveau_pushbuf_flush(nvws->channel, 0);
 
        screen->pipe.winsys = ws;
        screen->pipe.destroy = nv30_screen_destroy;