mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 11:30:21 +01:00
vl: change vl_video_buffer_destroy() to non-static
Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn> Reviewed-by: Ming Xie <xieming@kylinos.cn> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17157>
This commit is contained in:
parent
a7366d68ae
commit
e2199651b8
2 changed files with 4 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ vl_video_buffer_template(struct pipe_resource *templ,
|
|||
templ->height0 = height;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
vl_video_buffer_destroy(struct pipe_video_buffer *buffer)
|
||||
{
|
||||
struct vl_video_buffer *buf = (struct vl_video_buffer *)buffer;
|
||||
|
|
|
|||
|
|
@ -122,6 +122,9 @@ vl_video_buffer_template(struct pipe_resource *templ,
|
|||
unsigned usage, unsigned plane,
|
||||
enum pipe_video_chroma_format chroma_format);
|
||||
|
||||
void
|
||||
vl_video_buffer_destroy(struct pipe_video_buffer *buffer);
|
||||
|
||||
/**
|
||||
* creates a video buffer, can be used as a standard implementation for pipe->create_video_buffer
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue