mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
Timothy Arceri 2017-05-09 12:38:44 +10:00
parent 4c1664ff08
commit 1bd692b946
1 changed files with 1 additions and 1 deletions

View File

@ -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);