From 2ec350ff1d9f13ec95d7b9d46f57ad9b9efcc8ea Mon Sep 17 00:00:00 2001 From: Christian König Date: Fri, 8 Jul 2011 12:03:13 +0200 Subject: [g3dvl] make pipe_context mandatory for creation pipe_video_context --- src/gallium/include/pipe/p_screen.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gallium/include/pipe/p_screen.h') diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h index 011724a79cc..32869bb71e8 100644 --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -100,7 +100,9 @@ struct pipe_screen { struct pipe_context * (*context_create)( struct pipe_screen *, void *priv ); - struct pipe_video_context * (*video_context_create)( struct pipe_screen *screen, void *priv ); + struct pipe_video_context * (*video_context_create)( struct pipe_screen *screen, + struct pipe_context *context, + void *priv ); /** * Check if the given pipe_format is supported as a texture or -- cgit v1.2.3