diff options
author | Jakob Bornecrantz <[email protected]> | 2009-07-04 16:01:45 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-07-04 16:01:45 +0200 |
commit | eb33c0ab8b3594f0b1d58534a13a26e3fb050cff (patch) | |
tree | cd4c07fc0a4d20ea0bec40802490d7e007a536fd /progs/tests/mipmap_comp_tests.c | |
parent | be64e66e5aeed83ebcd11ccfd5ff461e8145a850 (diff) |
progs/tests: Use compressed texture in mipmap_comp_tests
Diffstat (limited to 'progs/tests/mipmap_comp_tests.c')
-rw-r--r-- | progs/tests/mipmap_comp_tests.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |