mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-31 08:50:26 +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
|
||||
/* 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++;
|
||||
|
Loading…
Reference in New Issue
Block a user