Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV

This commit is contained in:
Ian Romanick
2008-12-19 12:58:01 -08:00
parent 7e04272690
commit a330933bb7
+1 -1
View File
@@ -361,7 +361,7 @@ do_row(GLenum datatype, GLuint comps, GLint srcWidth,
const GLint rowAr0 = rowA[j] & 0x1f;
const GLint rowAr1 = rowA[k] & 0x1f;
const GLint rowBr0 = rowB[j] & 0x1f;
const GLint rowBr1 = rowB[k] & 0xf;
const GLint rowBr1 = rowB[k] & 0x1f;
const GLint rowAg0 = (rowA[j] >> 5) & 0x1f;
const GLint rowAg1 = (rowA[k] >> 5) & 0x1f;
const GLint rowBg0 = (rowB[j] >> 5) & 0x1f;