summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.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/texstate.c
parentf9b2d2fea586f772551abbb675970b71b2fdf8c9 (diff)
mesa: use STATIC_ASSERT in a few more places
Diffstat (limited to 'src/mesa/main/texstate.c')
-rw-r--r--src/mesa/main/texstate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstate.c b/src/mesa/main/texstate.c
index 7cd285803d5..8e9537faefc 100644
--- a/src/mesa/main/texstate.c
+++ b/src/mesa/main/texstate.c
@@ -695,7 +695,7 @@ alloc_proxy_textures( struct gl_context *ctx )
};
GLint tgt;
- ASSERT(Elements(targets) == NUM_TEXTURE_TARGETS);
+ STATIC_ASSERT(Elements(targets) == NUM_TEXTURE_TARGETS);
for (tgt = 0; tgt < NUM_TEXTURE_TARGETS; tgt++) {
if (!(ctx->Texture.ProxyTex[tgt]