mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
4c1664ff08
commit
1bd692b946
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue