diff options
author | Brian Paul <brianp@vmware.com> | 2012-01-10 11:09:02 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-01-10 12:37:37 -0700 |
commit | 6bf5daf331f13ec9503615a2578247e72b7d2cbb (patch) | |
tree | 330ebba53381d9f2bd4c226d1675bf0fafc95758 /src/mesa/main/formats.c | |
parent | f9b2d2fea586f772551abbb675970b71b2fdf8c9 (diff) | |
download | external_mesa3d-6bf5daf331f13ec9503615a2578247e72b7d2cbb.zip external_mesa3d-6bf5daf331f13ec9503615a2578247e72b7d2cbb.tar.gz external_mesa3d-6bf5daf331f13ec9503615a2578247e72b7d2cbb.tar.bz2 |
mesa: use STATIC_ASSERT in a few more places
Diffstat (limited to 'src/mesa/main/formats.c')
-rw-r--r-- | src/mesa/main/formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index cca0014..96317db 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); |