Browse Source

fix ugly copy/paste error in mipmap generation code

tags/mesa_7_5_rc1
Roland Scheidegger 16 years ago
parent
commit
4d89eff0b6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/main/mipmap.c

+ 1
- 1
src/mesa/main/mipmap.c 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;

Loading…
Cancel
Save