fix ugly copy/paste error in mipmap generation code

This commit is contained in:
Roland Scheidegger 2009-03-31 03:18:35 +02:00
parent 3eeeaf04e3
commit 4d89eff0b6
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ do_row(GLenum datatype, GLuint comps, GLint srcWidth,
}
}
if (datatype == GL_BYTE && comps == 4) {
else if (datatype == GL_BYTE && comps == 4) {
GLuint i, j, k;
const GLbyte(*rowA)[4] = (const GLbyte(*)[4]) srcRowA;
const GLbyte(*rowB)[4] = (const GLbyte(*)[4]) srcRowB;