From c6cf82fb553405bee241170f6e51cafd751d46ea Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 13 Jun 2011 12:00:55 -0700 Subject: [PATCH] apple: applegl_destroy_context: Pass along the correct display Signed-off-by: Jeremy Huddleston --- src/glx/applegl_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c index 8e5bc0b66c0..92c785f988a 100644 --- a/src/glx/applegl_glx.c +++ b/src/glx/applegl_glx.c @@ -43,7 +43,7 @@ static void applegl_destroy_context(struct glx_context *gc) { - apple_glx_destroy_context(&gc->driContext, gc->currentDpy); + apple_glx_destroy_context(&gc->driContext, gc->psc->dpy); } static int -- 2.30.2