[g3dvl] remove the unused priv member from pipe_video_context
[mesa.git] / src / gallium / winsys / g3dvl / xlib / xsp_winsys.c
index 5cea6196cf7a0e5b3e07d1c168784e8443575190..0487bd9c560ba5a7c2f6f2bb6b830ea3b1bf927d 100644 (file)
@@ -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;