summaryrefslogtreecommitdiff
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/vl_winsys.h3
-rw-r--r--src/gallium/winsys/g3dvl/xlib/xsp_winsys.c7
2 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/winsys/g3dvl/vl_winsys.h b/src/gallium/winsys/g3dvl/vl_winsys.h
index 22119f9559..b4fa0d67a1 100644
--- a/src/gallium/winsys/g3dvl/vl_winsys.h
+++ b/src/gallium/winsys/g3dvl/vl_winsys.h
@@ -39,7 +39,8 @@ struct pipe_screen*
vl_screen_create(Display *display, int screen);
struct pipe_video_context*
-vl_video_create(struct pipe_screen *screen,
+vl_video_create(Display *display, int screen,
+ struct pipe_screen *p_screen,
enum pipe_video_profile profile,
enum pipe_video_chroma_format chroma_format,
unsigned width, unsigned height);
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
index 0e5f5a587b..08067aad64 100644
--- a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
+++ b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c
@@ -300,7 +300,8 @@ vl_screen_create(Display *display, int screen)
}
struct pipe_video_context*
-vl_video_create(struct pipe_screen *screen,
+vl_video_create(Display *display, int screen,
+ struct pipe_screen *p_screen,
enum pipe_video_profile profile,
enum pipe_video_chroma_format chroma_format,
unsigned width, unsigned height)
@@ -308,10 +309,10 @@ vl_video_create(struct pipe_screen *screen,
struct pipe_video_context *vpipe;
struct xsp_context *xsp_context;
- assert(screen);
+ assert(p_screen);
assert(width && height);
- vpipe = sp_video_create(screen, profile, chroma_format, width, height);
+ vpipe = sp_video_create(p_screen, profile, chroma_format, width, height);
if (!vpipe)
return NULL;