projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be64e66
)
progs/tests: Use compressed texture in mipmap_comp_tests
author
Jakob Bornecrantz
<jakob@vmware.com>
Sat, 4 Jul 2009 14:01:45 +0000
(16:01 +0200)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Sat, 4 Jul 2009 14:01:45 +0000
(16:01 +0200)
progs/tests/mipmap_comp_tests.c
patch
|
blob
|
history
diff --git
a/progs/tests/mipmap_comp_tests.c
b/progs/tests/mipmap_comp_tests.c
index 080b81cba0ee50a79aa048a5a399223588423fe4..e865b30ad0f3371301fdab4ea74ae8594e0d3974 100644
(file)
--- 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);
}