summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r--src/gallium/state_trackers/xorg/xvmc/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xvmc/context.c b/src/gallium/state_trackers/xorg/xvmc/context.c
index 942692d1bb9..c8a389385a8 100644
--- a/src/gallium/state_trackers/xorg/xvmc/context.c
+++ b/src/gallium/state_trackers/xorg/xvmc/context.c
@@ -195,7 +195,7 @@ Status XvMCCreateContext(Display *dpy, XvPortID port, int surface_type_id,
return BadAlloc;
}
- vpipe = vl_video_create(screen, ProfileToPipe(mc_type),
+ vpipe = vl_video_create(dpy, scrn, screen, ProfileToPipe(mc_type),
FormatToPipe(chroma_format), width, height);
if (!vpipe) {