mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-27 16:38:12 +02:00
[g3dvl] make resource_format param const
This commit is contained in:
parent
b486766725
commit
3745025b28
2 changed files with 2 additions and 2 deletions
|
|
@ -199,7 +199,7 @@ vl_context_create_decoder(struct pipe_video_context *context,
|
|||
static struct pipe_video_buffer *
|
||||
vl_context_create_buffer(struct pipe_video_context *context,
|
||||
enum pipe_format buffer_format,
|
||||
enum pipe_format resource_formats[3],
|
||||
const enum pipe_format resource_formats[3],
|
||||
enum pipe_video_chroma_format chroma_format,
|
||||
unsigned width, unsigned height)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ struct pipe_video_context
|
|||
*/
|
||||
struct pipe_video_buffer *(*create_buffer)(struct pipe_video_context *context,
|
||||
enum pipe_format buffer_format,
|
||||
enum pipe_format resource_formats[3],
|
||||
const enum pipe_format resource_formats[3],
|
||||
enum pipe_video_chroma_format chroma_format,
|
||||
unsigned width, unsigned height);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue