aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-08 15:07:39 +0200
committerChristian König <[email protected]>2011-07-08 15:07:39 +0200
commit3bb33c911b895819fde5e179b2466c08f88164cf (patch)
treee50701bc341b722b4cbdfa058c289620fc5151b4 /src/gallium/winsys
parentbd5fd67a3e3cda4b7676dd4745fc5d5524709210 (diff)
[g3dvl] remove the unused priv member from pipe_video_context
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/g3dvl/dri/dri_winsys.c5
-rw-r--r--src/gallium/winsys/g3dvl/xlib/xsp_winsys.c3
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;