--- 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 a039b51..ad6b378 100644 --- a/src/mesa/main/image.c +++ b/src/mesa/main/image.c @@ -574,21 +574,21 @@ _mesa_convert_colors(GLenum srcType, const GLvoid *src, UNCLAMPED_FLOAT_TO_USHORT(dst2[i][GCOMP], src4[i][GCOMP]); UNCLAMPED_FLOAT_TO_USHORT(dst2[i][BCOMP], src4[i][BCOMP]); UNCLAMPED_FLOAT_TO_USHORT(dst2[i][ACOMP], src4[i][ACOMP]); } } if (useTemp) memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); } break; default: - _mesa_problem(NULL, "Invalid datatype in _mesa_convert_colors"); + unreachable("Invalid datatype in _mesa_convert_colors"); } free(tempBuffer); } /** * Perform basic clipping for glDrawPixels. The image's position and size -- 2.9.3 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev