summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-13 12:00:55 -0700
committerJeremy Huddleston <[email protected]>2011-06-13 14:51:01 -0700
commitc6cf82fb553405bee241170f6e51cafd751d46ea (patch)
tree9ef6572a2ef20f92ffba2f243c33af07249db05a /src/glx
parente903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e (diff)
apple: applegl_destroy_context: Pass along the correct display
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx')
-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 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