summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg
diff options
context:
space:
mode:
authorCooper Yuan <cooperyuan@gmail.com>2009-10-23 14:44:27 +0800
committerCooper Yuan <cooperyuan@gmail.com>2009-10-23 14:44:27 +0800
commit0072a26662994653e07b0bb14cb1f12817540566 (patch)
treea6bbbb05bec0d98825cea2317db163b3817568a0 /src/gallium/state_trackers/xorg
parent45eb9d2f6dced7654291cabb4b8dd02a695db694 (diff)
g3dvl: pass display and screen to g3dvl when creating video private context
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 942692d1bb..c8a389385a 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) {