diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-13 12:13:44 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2011-06-13 14:51:01 -0700 |
commit | 816b8acfe81d5e2d666eb926f669d6015df0bbac (patch) | |
tree | c2d633b0da7eb498916e26926a3b142c6a96d7ac /src/glx/glxcmds.c | |
parent | c6cf82fb553405bee241170f6e51cafd751d46ea (diff) | |
download | external_mesa3d-816b8acfe81d5e2d666eb926f669d6015df0bbac.zip external_mesa3d-816b8acfe81d5e2d666eb926f669d6015df0bbac.tar.gz external_mesa3d-816b8acfe81d5e2d666eb926f669d6015df0bbac.tar.bz2 |
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 <jeremyhu@apple.com>
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 774d38b..cd8bc97 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 |