瀏覽代碼

[g3dvl] fix setting width, height and chroma format in video buffer

tags/mesa-8.0-rc1
Christian König 14 年之前
父節點
當前提交
559f6d6cf4
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      src/gallium/auxiliary/vl/vl_video_buffer.c

+ 3
- 0
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;


Loading…
取消
儲存