*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@288 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2004-09-06 19:29:11 +00:00
parent 1ee92dec12
commit b1b344b799

View File

@ -182,9 +182,8 @@ main (int argc, char** argv)
#else #else
/* GLX extensions */ /* GLX extensions */
fprintf(file, "GLX extensions (GLX_): \n"); fprintf(file, "GLX extensions (GLX_): \n");
const char* p = glXQueryExtensionsString(glXGetCurrentDisplay(), PrintExtensions(glXQueryExtensionsString(glXGetCurrentDisplay(),
DefaultScreen(glXGetCurrentDisplay())); DefaultScreen(glXGetCurrentDisplay())));
PrintExtensions(p);
#endif #endif
/* ---------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- */
@ -228,7 +227,7 @@ void PrintExtensions (const char* s)
*p = t[i] = '\0'; *p = t[i] = '\0';
fprintf(file, " %s\n", t); fprintf(file, " %s\n", t);
p++; p++;
i = strlen(p); i = (int)strlen(p);
strcpy(t, p); strcpy(t, p);
} }
s++; s++;