*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@140 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2003-09-26 16:12:10 +00:00
parent 791e699b70
commit 6214dc8b12
3 changed files with 4 additions and 4 deletions

View File

@ -92,12 +92,12 @@ LD = ld
ABI = -64# -n32
CC += $(ABI)
LD += $(ABI)
CFLAGS.EXTRA = -woff 1110,1498
CFLAGS.EXTRA =
LDFLAGS.SO = -shared -soname $(LIB.SONAME)
LDFLAGS.EXTRA =
LDFLAGS.GL = -lGL -lXext -lX11
NAME = GLEW
WARN = -fullwarn
WARN = -fullwarn -woff 1110,1498
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
LIB.DEVLNK = lib$(NAME).so

View File

@ -88,7 +88,7 @@ static void* dlGetProcAddress (const char* name)
}
if (gpa != NULL)
return ((void* (*)(const GLubyte*))gpa)(procName);
return ((void* (*)(const GLubyte*))gpa)((const GLubyte*)name);
else
return dlsym(h, name);
}

View File

@ -152,7 +152,7 @@ void glewDestroyContext ()
{
if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx);
if (NULL != dpy) XDestroyWindow(dpy, wnd);
XFreeColormap(dpy, cmap);
if (NULL != dpy) XFreeColormap(dpy, cmap);
if (NULL != vi) XFree(vi);
if (NULL != dpy) XCloseDisplay(dpy);
}