Mesa (master): mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()
Timothy Arceri
tarceri at kemper.freedesktop.org
Tue May 16 02:31:56 UTC 2017
Module: Mesa
Branch: master
Commit: 1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1bd692b946520fbe4f0ef5bbf2f9605b2ff4718e
Author: Timothy Arceri <tarceri at itsqueeze.com>
Date: Tue May 9 12:38:44 2017 +1000
mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
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);
More information about the mesa-commit
mailing list