diff options
author | Timothy Arceri <[email protected]> | 2017-05-09 12:38:44 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-05-16 12:25:49 +1000 |
commit | 1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e (patch) | |
tree | fdaf1f48dbacaacc5fa0437521eed6668c2513f0 /src/mesa/main | |
parent | 4c1664ff086fcb9fdb7e463d78252d1fbe5e1d5e (diff) |
mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/image.c b/src/mesa/main/image.c index a039b51985f..ad6b378f7f6 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -581,7 +581,7 @@ _mesa_convert_colors(GLenum srcType, const GLvoid *src, } break; default: - _mesa_problem(NULL, "Invalid datatype in _mesa_convert_colors"); + unreachable("Invalid datatype in _mesa_convert_colors"); } free(tempBuffer); |