diff options
author | Brian Paul <[email protected]> | 2012-01-10 11:09:02 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-10 12:37:37 -0700 |
commit | 6bf5daf331f13ec9503615a2578247e72b7d2cbb (patch) | |
tree | 330ebba53381d9f2bd4c226d1675bf0fafc95758 /src/mesa/main/shared.c | |
parent | f9b2d2fea586f772551abbb675970b71b2fdf8c9 (diff) |
mesa: use STATIC_ASSERT in a few more places
Diffstat (limited to 'src/mesa/main/shared.c')
-rw-r--r-- | src/mesa/main/shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shared.c b/src/mesa/main/shared.c index 276fac149ed..c3e93b5a583 100644 --- a/src/mesa/main/shared.c +++ b/src/mesa/main/shared.c @@ -113,7 +113,7 @@ _mesa_alloc_shared_state(struct gl_context *ctx) GL_TEXTURE_2D, GL_TEXTURE_1D }; - assert(Elements(targets) == NUM_TEXTURE_TARGETS); + STATIC_ASSERT(Elements(targets) == NUM_TEXTURE_TARGETS); shared->DefaultTex[i] = ctx->Driver.NewTextureObject(ctx, 0, targets[i]); } |