Module: Mesa Branch: master Commit: 1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e
Author: Timothy Arceri <[email protected]> Date: Tue May 9 12:38:44 2017 +1000 mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors() Reviewed-by: Samuel Pitoiset <[email protected]> --- 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 a039b51985..ad6b378f7f 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); _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
