Quellcode durchsuchen

fix ugly copy/paste error in mipmap generation code

tags/mesa_7_5_rc1
Roland Scheidegger vor 16 Jahren
Ursprung
Commit
4d89eff0b6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      src/mesa/main/mipmap.c

+ 1
- 1
src/mesa/main/mipmap.c Datei anzeigen

@@ -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;

Laden…
Abbrechen
Speichern