progs/tests: Use compressed texture in mipmap_comp_tests

This commit is contained in:
Jakob Bornecrantz 2009-07-04 16:01:45 +02:00
parent be64e66e5a
commit eb33c0ab8b
1 changed files with 3 additions and 1 deletions

View File

@ -131,7 +131,9 @@ makeImage(int level, int width, int height)
}
}
glTexImage2D(GL_TEXTURE_2D, level, 3, width, height, 0,
glTexImage2D(GL_TEXTURE_2D, level,
GL_COMPRESSED_RGB_S3TC_DXT1_EXT,
width, height, 0,
GL_RGB, GL_UNSIGNED_BYTE, img);
}