gl-renderer: make import_simple_dmabuf attributes parameter const
The import_simple_dmabuf() function does not modify the contents of its struct dmabuf_attributes parameter, so make it const. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
This commit is contained in:
parent
20d8963d3c
commit
0f5f794ddb
@ -2399,7 +2399,7 @@ gl_renderer_destroy_dmabuf(struct linux_dmabuf_buffer *dmabuf)
|
||||
|
||||
static EGLImageKHR
|
||||
import_simple_dmabuf(struct gl_renderer *gr,
|
||||
struct dmabuf_attributes *attributes)
|
||||
const struct dmabuf_attributes *attributes)
|
||||
{
|
||||
EGLint attribs[52];
|
||||
int atti = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user