diff options
Diffstat (limited to 'src/glx/glxcmds.c')
-rw-r--r-- | src/glx/glxcmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 774d38b2634..cd8bc97b192 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -377,8 +377,7 @@ DestroyContext(Display * dpy, GLXContext ctx) } __glXUnlock(); - if (gc->vtable->destroy) - gc->vtable->destroy(gc); + gc->vtable->destroy(gc); } _X_EXPORT void |