*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@217 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2004-02-02 01:57:57 +00:00
parent 7857baadc7
commit 532061efa2

View File

@ -240,7 +240,7 @@ void glewDestroyContext ()
{ {
if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx); if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx);
if (NULL != dpy && 0 != wnd) XDestroyWindow(dpy, wnd); if (NULL != dpy && 0 != wnd) XDestroyWindow(dpy, wnd);
if (NULL != dpy && cmap != 0) XFreeColormap(dpy, cmap); if (NULL != dpy && 0 != cmap) XFreeColormap(dpy, cmap);
if (NULL != vis) if (NULL != vis)
XFree(vis); XFree(vis);
else if (NULL != vi) else if (NULL != vi)