summaryrefslogtreecommitdiffstats
path: root/src/glx/applegl_glx.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2011-06-14 00:45:12 -0700
committerJeremy Huddleston <[email protected]>2011-06-14 00:48:20 -0700
commita128355ecb5b782a69461a04991e4cffb32249db (patch)
tree7ba844ab2d0faa1e6e948075bea71495e8f22399 /src/glx/applegl_glx.c
parentc17fb8539fcdeb6ebbc0c8a9ff010d1bc01b695f (diff)
apple: Set the glapi dispatch table on context bind
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/applegl_glx.c')
-rw-r--r--src/glx/applegl_glx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/applegl_glx.c b/src/glx/applegl_glx.c
index 92c785f988a..4bf4672cede 100644
--- a/src/glx/applegl_glx.c
+++ b/src/glx/applegl_glx.c
@@ -59,6 +59,8 @@ applegl_bind_context(struct glx_context *gc, struct glx_context *old,
if (error)
return 1; /* GLXBadContext is the same as Success (0) */
+ apple_glapi_set_dispatch();
+
return Success;
}