From 6bf5daf331f13ec9503615a2578247e72b7d2cbb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 10 Jan 2012 11:09:02 -0700 Subject: mesa: use STATIC_ASSERT in a few more places --- src/mesa/main/texstate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texstate.c') 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] -- cgit v1.2.3