Mesa (mesa_7_5_branch): progs/tests: Use compressed texture in mipmap_comp_tests
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Tue Jul 14 16:11:50 UTC 2009
Module: Mesa
Branch: mesa_7_5_branch
Commit: 26e58a42b0faa8f4eb2794a1ddee6b66d0ce0efe
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=26e58a42b0faa8f4eb2794a1ddee6b66d0ce0efe
Author: Jakob Bornecrantz <jakob at vmware.com>
Date: Sat Jul 4 16:01:45 2009 +0200
progs/tests: Use compressed texture in mipmap_comp_tests
---
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 080b81c..e865b30 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);
}
More information about the mesa-commit
mailing list