diff --git a/gfx/drivers/gcm_gfx.c b/gfx/drivers/gcm_gfx.c index d53f5d177c..fb24bdb07a 100644 --- a/gfx/drivers/gcm_gfx.c +++ b/gfx/drivers/gcm_gfx.c @@ -193,7 +193,7 @@ static gcmContextData *gcm_init_screen(gcm_video_t* gcm) /* Initialise Reality, which sets up the * command buffer and shared I/O memory */ - context = rsxInit (CB_SIZE, HOST_SIZE, host_addr); + rsxInit (&context, CB_SIZE, HOST_SIZE, host_addr); if (!context) goto error; saved_context = context;