diff options
author | Cooper Yuan <[email protected]> | 2009-10-23 14:44:27 +0800 |
---|---|---|
committer | Cooper Yuan <[email protected]> | 2009-10-23 14:44:27 +0800 |
commit | 0072a26662994653e07b0bb14cb1f12817540566 (patch) | |
tree | a6bbbb05bec0d98825cea2317db163b3817568a0 /src/gallium/winsys/g3dvl/xlib | |
parent | 45eb9d2f6dced7654291cabb4b8dd02a695db694 (diff) |
g3dvl: pass display and screen to g3dvl when creating video private context
Diffstat (limited to 'src/gallium/winsys/g3dvl/xlib')
-rw-r--r-- | src/gallium/winsys/g3dvl/xlib/xsp_winsys.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c b/src/gallium/winsys/g3dvl/xlib/xsp_winsys.c index 0e5f5a587b4..08067aad64c 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; |