summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/formats.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-10 11:09:02 -0700
committerBrian Paul <[email protected]>2012-01-10 12:37:37 -0700
commit6bf5daf331f13ec9503615a2578247e72b7d2cbb (patch)
tree330ebba53381d9f2bd4c226d1675bf0fafc95758 /src/mesa/main/formats.c
parentf9b2d2fea586f772551abbb675970b71b2fdf8c9 (diff)
mesa: use STATIC_ASSERT in a few more places
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r--src/mesa/main/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c
index cca0014b178..96317dbf4d5 100644
--- a/src/mesa/main/formats.c
+++ b/src/mesa/main/formats.c
@@ -1951,7 +1951,7 @@ _mesa_test_formats(void)
{
GLuint i;
- assert(Elements(format_info) == MESA_FORMAT_COUNT);
+ STATIC_ASSERT(Elements(format_info) == MESA_FORMAT_COUNT);
for (i = 0; i < MESA_FORMAT_COUNT; i++) {
const struct gl_format_info *info = _mesa_get_format_info(i);