apple: Implement applegl_unbind_context
authorJeremy Huddleston <jeremyhu@apple.com>
Mon, 24 Oct 2011 23:21:28 +0000 (16:21 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Mon, 24 Oct 2011 23:21:28 +0000 (16:21 -0700)
commit5c44c1348ea13f51a1616968daa7034bb48e42b1
treed464bb597494968b175e5e0bab27746efb97056b
parent9dc7df1feaa4f5d2f03a7490aafc6064e309f818
apple: Implement applegl_unbind_context

glXMakeCurrent(dpy, None, NULL) would not correctly unbind the context
causing subsequent GLX requests to fail in peculiar ways

http://xquartz.macosforge.org/trac/ticket/514

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
src/glx/applegl_glx.c