summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/g3dvl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/g3dvl')
-rw-r--r--src/gallium/winsys/g3dvl/xlib/xsp_winsys.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
index e5d4664d4e8..95c2af1e73c 100644
--- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
+++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
@@ -116,8 +116,12 @@ vl_video_create(struct vl_screen *vscreen,
assert(vscreen);
assert(width && height);
+ assert(vscreen->pscreen->video_context_create);
- vpipe = sp_video_create(vscreen->pscreen, profile, chroma_format, width, height);
+ vpipe = vscreen->pscreen->video_context_create(vscreen->pscreen,
+ profile,
+ chroma_format,
+ width, height, NULL);
if (!vpipe)
return NULL;