projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c1664f
)
mesa: replace _mesa_problem() with unreachable() in _mesa_convert_colors()
author
Timothy Arceri
<tarceri@itsqueeze.com>
Tue, 9 May 2017 02:38:44 +0000
(12:38 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Tue, 16 May 2017 02:25:49 +0000
(12:25 +1000)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/main/image.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index a039b51985f782bfce6c25f18a291408558912d4..ad6b378f7f62d8f7bbd137b5d66e377861224627 100644
(file)
--- 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);