mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
asahi: Pass valid memctx to open_device
Currently the argument is unused but that's about to change. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25498>
This commit is contained in:
parent
cde7ca1683
commit
75fe90dab0
1 changed files with 1 additions and 1 deletions
|
|
@ -2175,7 +2175,7 @@ agx_screen_create(int fd, struct renderonly *ro,
|
|||
agx_screen->dev.ro = ro;
|
||||
|
||||
/* Try to open an AGX device */
|
||||
if (!agx_open_device(screen, &agx_screen->dev)) {
|
||||
if (!agx_open_device(agx_screen, &agx_screen->dev)) {
|
||||
ralloc_free(agx_screen);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue