*** empty log message ***

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@125 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2003-09-15 17:01:44 +00:00
parent cb58541cd0
commit 2bf5b39730
2 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ GLboolean glewGetExtension (const GLubyte *name)
{
GLubyte *p, *end;
GLuint len = _glewStrLen(name);
p = glGetString(GL_EXTENSIONS);
p = (GLubyte*)glGetString(GL_EXTENSIONS);
if (0 == p) return GL_FALSE;
end = p + _glewStrLen(p);
while (p < end)
@ -52,7 +52,7 @@ GLboolean glewGetExtension (const GLubyte *name)
static GLuint _glewInit ()
{
GLubyte* s;
const GLubyte* s;
GLuint i;
/* query opengl version */
s = glGetString(GL_VERSION);

View File

@ -42,9 +42,9 @@ static void glewPrintExt (const GLubyte* name, GLboolean defined)
{
unsigned int i;
fprintf(f, "\n%s:", name);
for (i=0; i<62-strlen(name); i++) fprintf(f, " ");
for (i=0; i<62-strlen((const char*)name); i++) fprintf(f, " ");
fprintf(f, "%s\n", defined ? "OK" : "MISSING");
for (i=0; i<strlen(name)+1; i++) fprintf(f, "-");
for (i=0; i<strlen((const char*)name)+1; i++) fprintf(f, "-");
fprintf(f, "\n");
fflush(f);
}
@ -53,7 +53,7 @@ static void glewInfoFunc (const GLubyte* name, GLboolean undefined)
{
unsigned int i;
fprintf(f, " %s:", name);
for (i=0; i<60-strlen(name); i++) fprintf(f, " ");
for (i=0; i<60-strlen((const char*)name); i++) fprintf(f, " ");
fprintf(f, "%s\n", undefined ? "MISSING" : "OK");
fflush(f);
}