diff options
author | Guillaume Melquiond <[email protected]> | 2008-09-13 14:23:39 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-13 14:23:39 -0600 |
commit | 11a889db8f182fb1d11c998e5156deac8ca9f91d (patch) | |
tree | 1076d0bff6438c7db70b471d5af4ecacfb5d7aeb /src/mesa/swrast | |
parent | d2e0504d4e1d00bfc59d6661f9f0d33db1768f42 (diff) |
mesa: return after _mesa_problem() calls
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r-- | src/mesa/swrast/s_texfilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_texfilter.c b/src/mesa/swrast/s_texfilter.c index c9e9db132f1..ee6131649a6 100644 --- a/src/mesa/swrast/s_texfilter.c +++ b/src/mesa/swrast/s_texfilter.c @@ -342,6 +342,7 @@ lerp_rgba_3d(GLchan result[4], GLfloat a, GLfloat b, GLfloat c, break; \ default: \ _mesa_problem(ctx, "Bad wrap mode"); \ + return; \ } \ } @@ -462,6 +463,7 @@ lerp_rgba_3d(GLchan result[4], GLfloat a, GLfloat b, GLfloat c, break; \ default: \ _mesa_problem(ctx, "Bad wrap mode"); \ + return; \ } \ } |