diff options
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r-- | src/gallium/winsys/g3dvl/dri/dri_winsys.c | 5 | ||||
-rw-r--r-- | src/gallium/winsys/g3dvl/xlib/xsp_winsys.c | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/winsys/g3dvl/dri/dri_winsys.c b/src/gallium/winsys/g3dvl/dri/dri_winsys.c index 29b7d3ea468..1d066f826db 100644 --- a/src/gallium/winsys/g3dvl/dri/dri_winsys.c +++ b/src/gallium/winsys/g3dvl/dri/dri_winsys.c @@ -256,14 +256,11 @@ vl_video_create(struct vl_screen *vscreen) goto no_pipe; } - vl_dri_ctx->base.vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen, - vl_dri_ctx->base.pipe, - vl_dri_ctx); + vl_dri_ctx->base.vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen, vl_dri_ctx->base.pipe); if (!vl_dri_ctx->base.vpipe) goto no_pipe; - vl_dri_ctx->base.vpipe->priv = vl_dri_ctx; vl_dri_ctx->base.vscreen = vscreen; vl_dri_ctx->fd = vl_dri_scrn->dri_screen->fd; 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; |