diff options
author | Timothy Arceri <[email protected]> | 2017-05-05 15:39:15 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-11 13:53:39 +1000 |
commit | 786b9ad95b7ff4b863b15627f3308e8df271fbf7 (patch) | |
tree | 70d0a33c5cd5148aad23e79c74a0875fc2796118 /src/mesa/main/accum.c | |
parent | 8b00630c4d2a58584896b1a86440ef2c5de38636 (diff) |
mesa: remove _mesa_problem() from a few locations
_mesa_problem() is still useful in some places such as is if a backend
compile fails, but for the majority of cases we should be able to
remove it.
OpenGL test suites are becoming very mature, we should place more
trust in debug builds picking up missed cases.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r-- | src/mesa/main/accum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index d81e1ba583c..c0a3e7ea72a 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -426,7 +426,7 @@ accum(struct gl_context *ctx, GLenum op, GLfloat value) accum_return(ctx, value, xpos, ypos, width, height); break; default: - _mesa_problem(ctx, "invalid mode in _mesa_Accum()"); + unreachable("invalid mode in _mesa_Accum()"); break; } } |