*** 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
/* GLX extensions */
fprintf(file, "GLX extensions (GLX_): \n");
const char* p = glXQueryExtensionsString(glXGetCurrentDisplay(),
DefaultScreen(glXGetCurrentDisplay()));
PrintExtensions(p);
PrintExtensions(glXQueryExtensionsString(glXGetCurrentDisplay(),
DefaultScreen(glXGetCurrentDisplay())));
#endif
/* ---------------------------------------------------------------------- */
@ -228,7 +227,7 @@ void PrintExtensions (const char* s)
*p = t[i] = '\0';
fprintf(file, " %s\n", t);
p++;
i = strlen(p);
i = (int)strlen(p);
strcpy(t, p);
}
s++;