summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-06-13 12:00:55 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-06-13 23:14:09 -0700
commit025d348dc14b9dbf8a9ee39978cb2a43f94b626d (patch)
tree8706bf5bb54079c63016f50a01a2913c302b8943
parent2bf24ffaffc8ef82e2036955064533127da83313 (diff)
apple: applegl_destroy_context: Pass along the correct display
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> (cherry picked from commit c6cf82fb553405bee241170f6e51cafd751d46ea)
-rw-r--r--src/glx/applegl_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c
index 9b8605f4075..e888a0f2ff8 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