aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl/xlib
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/g3dvl/xlib')
-rw-r--r--src/gallium/winsys/g3dvl/xlib/xsp_winsys.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
index 5cea6196cf7..0487bd9c560 100644
--- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
+++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
@@ -183,7 +183,7 @@ vl_video_create(struct vl_screen *vscreen)
if (!pipe)
return NULL;
- vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen, pipe, NULL);
+ vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen, pipe);
if (!vpipe) {
pipe->destroy(pipe);
return NULL;
@@ -196,7 +196,6 @@ vl_video_create(struct vl_screen *vscreen)
return NULL;
}
- vpipe->priv = vctx;
vctx->vpipe = vpipe;
vctx->vscreen = vscreen;