summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-07-04 16:01:45 +0200
committerJosé Fonseca <jfonseca@vmware.com>2009-07-14 17:11:07 +0100
commit26e58a42b0faa8f4eb2794a1ddee6b66d0ce0efe (patch)
tree573f92b616281ad8e835f98d5b8710f6231718da /progs
parentb0a17581e20c6993e1ec3ef85801f351366f949b (diff)
progs/tests: Use compressed texture in mipmap_comp_tests
Diffstat (limited to 'progs')
-rw-r--r--progs/tests/mipmap_comp_tests.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/tests/mipmap_comp_tests.c b/progs/tests/mipmap_comp_tests.c
index 080b81cba0..e865b30ad0 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);
}