From: Christian König Date: Wed, 27 Apr 2011 10:59:30 +0000 (+0200) Subject: [g3dvl] fix setting width, height and chroma format in video buffer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=559f6d6cf4a9469c2c6ccea482115f22080f185f;p=mesa.git [g3dvl] fix setting width, height and chroma format in video buffer --- 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;