From 26e58a42b0faa8f4eb2794a1ddee6b66d0ce0efe Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 4 Jul 2009 16:01:45 +0200 Subject: progs/tests: Use compressed texture in mipmap_comp_tests --- progs/tests/mipmap_comp_tests.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'progs/tests/mipmap_comp_tests.c') diff --git a/progs/tests/mipmap_comp_tests.c b/progs/tests/mipmap_comp_tests.c index 080b81cba0e..e865b30ad0f 100644 --- a/progs/tests/mipmap_comp_tests.c +++ b/progs/tests/mipmap_comp_tests.c @@ -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); } -- cgit v1.2.3