*** 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 ABI = -64# -n32
CC += $(ABI) CC += $(ABI)
LD += $(ABI) LD += $(ABI)
CFLAGS.EXTRA = -woff 1110,1498 CFLAGS.EXTRA =
LDFLAGS.SO = -shared -soname $(LIB.SONAME) LDFLAGS.SO = -shared -soname $(LIB.SONAME)
LDFLAGS.EXTRA = LDFLAGS.EXTRA =
LDFLAGS.GL = -lGL -lXext -lX11 LDFLAGS.GL = -lGL -lXext -lX11
NAME = GLEW NAME = GLEW
WARN = -fullwarn WARN = -fullwarn -woff 1110,1498
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR) LIB.SONAME = lib$(NAME).so.$(GLEW_MAJOR)
LIB.DEVLNK = lib$(NAME).so LIB.DEVLNK = lib$(NAME).so

View File

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

View File

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