OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glx: Move context destroy to context vtable
[android-x86/external-mesa.git]
/
src
/
glx
/
glxext.c
diff --git
a/src/glx/glxext.c
b/src/glx/glxext.c
index
88e74c2
..
97149df
100644
(file)
--- 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);