From 1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Tue, 9 May 2017 12:38:44 +1000 Subject: [PATCH] mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors() Reviewed-by: Samuel Pitoiset --- src/mesa/main/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);