fix ugly copy/paste error in mipmap generation code
This commit is contained in:
parent
3eeeaf04e3
commit
4d89eff0b6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue