diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-22 23:45:18 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-23 22:05:52 -0400 |
commit | c796bb0cc3fde409545bff320540ddf5c029e513 (patch) | |
tree | dded830c438042a6d7a97a260d33b27f49737271 /src/glx/glxext.c | |
parent | 80b331c7f6c3724f2044325e0d7d7c79ae5a4510 (diff) |
glx: Move context destroy to context vtable
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r-- | src/glx/glxext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c index 88e74c2a386..97149dff702 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -263,8 +263,8 @@ __glXCloseDisplay(Display * dpy, XExtCodes * codes) gc = __glXGetCurrentContext(); if (dpy == gc->currentDpy) { + gc->vtable->destroy(gc); __glXSetCurrentContextNull(); - __glXFreeContext(gc); } FreeScreenConfigs(priv); |