From: Jeremy Huddleston Date: Mon, 13 Jun 2011 19:00:55 +0000 (-0700) Subject: apple: applegl_destroy_context: Pass along the correct display X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6cf82fb553405bee241170f6e51cafd751d46ea;p=mesa.git apple: applegl_destroy_context: Pass along the correct display Signed-off-by: Jeremy Huddleston --- 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