mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-13 10:33:48 +00:00
Merge whitespace fixups from SCI fork
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@638 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
bdc94ea4c2
commit
17dd9d8fa5
@ -176,12 +176,12 @@ static GLboolean _glewStrSame1 (GLubyte** a, GLuint* na, const GLubyte* b, GLuin
|
|||||||
{
|
{
|
||||||
GLuint i=0;
|
GLuint i=0;
|
||||||
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
||||||
if(i == nb)
|
if(i == nb)
|
||||||
{
|
{
|
||||||
*a = *a + nb;
|
*a = *a + nb;
|
||||||
*na = *na - nb;
|
*na = *na - nb;
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
@ -192,12 +192,12 @@ static GLboolean _glewStrSame2 (GLubyte** a, GLuint* na, const GLubyte* b, GLuin
|
|||||||
{
|
{
|
||||||
GLuint i=0;
|
GLuint i=0;
|
||||||
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
||||||
if(i == nb)
|
if(i == nb)
|
||||||
{
|
{
|
||||||
*a = *a + nb;
|
*a = *a + nb;
|
||||||
*na = *na - nb;
|
*na = *na - nb;
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user