diff options
author | Brian Paul <[email protected]> | 2012-07-27 15:45:27 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-07-27 15:47:38 -0600 |
commit | 322a2938f320f8a39cb6d86f249a339625a8772a (patch) | |
tree | 6a8cc2d770ce36ec47cd7e3b850d0f9b998bf9f3 /src/mesa/state_tracker/st_atom_clip.c | |
parent | 59c67f81165fadd46c99cda5623397c798f015eb (diff) |
st/mesa: use STATIC_ASSERT in a few places
Diffstat (limited to 'src/mesa/state_tracker/st_atom_clip.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_clip.c b/src/mesa/state_tracker/st_atom_clip.c index 2a51100984a..a1a7e003a66 100644 --- a/src/mesa/state_tracker/st_atom_clip.c +++ b/src/mesa/state_tracker/st_atom_clip.c @@ -47,7 +47,7 @@ static void update_clip( struct st_context *st ) const struct gl_context *ctx = st->ctx; bool use_eye = FALSE; - assert(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); + STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane)); /* if we have a vertex shader that writes clip vertex we need to pass the pre-projection transformed coordinates into the driver. */ |