From 6010c683d054d75ae2afca48c8c894f0129a9e0f Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 10 Aug 2013 04:10:28 -0400 Subject: nouveau: set buffer format of video buffer Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_video.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/nouveau') diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index 5c4ec0faf65..5377872077c 100644 --- a/src/gallium/drivers/nouveau/nouveau_video.c +++ b/src/gallium/drivers/nouveau/nouveau_video.c @@ -810,6 +810,7 @@ nouveau_video_buffer_create(struct pipe_context *pipe, buffer->base.get_sampler_view_components = nouveau_video_buffer_sampler_view_components; buffer->base.get_surfaces = nouveau_video_buffer_surfaces; buffer->base.chroma_format = templat->chroma_format; + buffer->base.buffer_format = templat->buffer_format; buffer->base.width = width; buffer->base.height = height; buffer->num_planes = 2; -- cgit v1.2.3