mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-03-23 17:16:45 +00:00
*** 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:
parent
1ee92dec12
commit
b1b344b799
@ -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++;
|
||||||
|
Loading…
Reference in New Issue
Block a user