mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
fix ugly copy/paste error in mipmap generation code
This commit is contained in:
parent
3eeeaf04e3
commit
4d89eff0b6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue