diff options
author | Christian König <[email protected]> | 2011-04-27 12:59:30 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-04-27 12:59:30 +0200 |
commit | 559f6d6cf4a9469c2c6ccea482115f22080f185f (patch) | |
tree | c7ded36a547fa144ef0612e0c07a1105d0ab5e5f /src/gallium/auxiliary | |
parent | f3f212acf0d2fc25d3b6bd70dd1f346d97a9b25d (diff) |
[g3dvl] fix setting width, height and chroma format in video buffer
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_video_buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c index dccd7e93945..976d22830de 100644 --- a/src/gallium/auxiliary/vl/vl_video_buffer.c +++ b/src/gallium/auxiliary/vl/vl_video_buffer.c @@ -180,6 +180,9 @@ vl_video_buffer_init(struct pipe_video_context *context, buffer->base.get_sampler_view_planes = vl_video_buffer_sampler_view_planes; buffer->base.get_sampler_view_components = vl_video_buffer_sampler_view_components; buffer->base.get_surfaces = vl_video_buffer_surfaces; + buffer->base.chroma_format = chroma_format; + buffer->base.width = width; + buffer->base.height = height; buffer->pipe = pipe; buffer->num_planes = 1; |