diff options
author | Matt Turner <mattst88@gmail.com> | 2015-02-20 20:18:47 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-02-23 10:49:47 -0800 |
commit | bfcdb843830bba0190e00e35e3c5c18c4bdb5de1 (patch) | |
tree | d4e8eebb5d58b3b1ac6caa383bfcda258b19c6c1 /src/mesa/program/programopt.c | |
parent | 52049f8fd83f2ef31c2a4d645cfb7d7b2ab518a6 (diff) | |
download | external_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.zip external_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.tar.gz external_mesa3d-bfcdb843830bba0190e00e35e3c5c18c4bdb5de1.tar.bz2 |
mesa: Use assert() instead of ASSERT wrapper.
Acked-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/program/programopt.c')
-rw-r--r-- | src/mesa/program/programopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/programopt.c b/src/mesa/program/programopt.c index fdaa4a4..e82c68a 100644 --- a/src/mesa/program/programopt.c +++ b/src/mesa/program/programopt.c @@ -335,7 +335,7 @@ _mesa_append_fog_code(struct gl_context *ctx, inst++; } else { - ASSERT(fog_mode == GL_EXP || fog_mode == GL_EXP2); + assert(fog_mode == GL_EXP || fog_mode == GL_EXP2); /* fogPRefOpt.z = d/ln(2), fogPRefOpt.w = d/sqrt(ln(2) */ /* EXP: MUL fogFactorTemp.x, fogPRefOpt.z, fragment.fogcoord.x; */ /* EXP2: MUL fogFactorTemp.x, fogPRefOpt.w, fragment.fogcoord.x; */ |