mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
*** 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:
parent
7857baadc7
commit
532061efa2
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user