mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 01:08:03 +02:00
zink: const-ify a surface param
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21292>
This commit is contained in:
parent
d05b7ef641
commit
44ce7ee6c1
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ zink_get_surface(struct zink_context *ctx,
|
|||
|
||||
/* wrap a surface for use as a framebuffer attachment */
|
||||
static struct pipe_surface *
|
||||
wrap_surface(struct pipe_context *pctx, struct pipe_surface *psurf)
|
||||
wrap_surface(struct pipe_context *pctx, const struct pipe_surface *psurf)
|
||||
{
|
||||
struct zink_ctx_surface *csurf = CALLOC_STRUCT(zink_ctx_surface);
|
||||
csurf->base = *psurf;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue