diff options
author | Jeremy Huddleston <[email protected]> | 2011-06-13 12:13:44 -0700 |
---|---|---|
committer | Jeremy Huddleston <[email protected]> | 2011-06-13 14:51:01 -0700 |
commit | 816b8acfe81d5e2d666eb926f669d6015df0bbac (patch) | |
tree | c2d633b0da7eb498916e26926a3b142c6a96d7ac /src/glx | |
parent | c6cf82fb553405bee241170f6e51cafd751d46ea (diff) |
glx: Remove check for gc->vtable->destroy
gc->vtable->destroy is always set and is used unconditionally
in other places, so don't bother checking for it first.
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx')
-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 |