summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/lima/lima_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/lima/lima_context.c')
-rw-r--r--src/gallium/drivers/lima/lima_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/lima/lima_context.c b/src/gallium/drivers/lima/lima_context.c
index f9d423a31fb..1070a56d25c 100644
--- a/src/gallium/drivers/lima/lima_context.c
+++ b/src/gallium/drivers/lima/lima_context.c
@@ -205,7 +205,7 @@ lima_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags)
struct lima_screen *screen = lima_screen(pscreen);
struct lima_context *ctx;
- ctx = rzalloc(screen, struct lima_context);
+ ctx = rzalloc(NULL, struct lima_context);
if (!ctx)
return NULL;