diff --git a/gfx/drivers_context/bbqnx_ctx.c b/gfx/drivers_context/bbqnx_ctx.c index ae63759fd7..c9b5dca2ab 100644 --- a/gfx/drivers_context/bbqnx_ctx.c +++ b/gfx/drivers_context/bbqnx_ctx.c @@ -245,7 +245,7 @@ static void *gfx_ctx_qnx_init(void *video_driver) goto error; } - if (!egl_create_surface(qnx->screen_win)) + if (!egl_create_surface(&qnx->egl, qnx->screen_win)) goto error; return qnx;