r300g: align the height of NPOT textures to POT
[mesa.git] / src / gallium / state_trackers / xorg / xvmc / context.c
index 942692d1bb95edd370963bb613f159b9f0cc5149..c8a389385a80796e8db10624ffdbd2cd52509a75 100644 (file)
@@ -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) {