projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624661c
)
mesa: improve error message
author
Brian Paul
<brianp@vmware.com>
Thu, 11 Nov 2010 14:43:30 +0000
(07:43 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 11 Nov 2010 14:43:46 +0000
(07:43 -0700)
src/mesa/main/formats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/formats.c
b/src/mesa/main/formats.c
index e18a9fc9977fedf9e55de005ac24257a4a486b31..46a1fe006afe726e80ee6d22fea0762b580f6ac9 100644
(file)
--- a/
src/mesa/main/formats.c
+++ b/
src/mesa/main/formats.c
@@
-1428,7
+1428,8
@@
_mesa_format_to_type_and_comps(gl_format format,
default:
- _mesa_problem(NULL, "bad format in _mesa_format_to_type_and_comps");
+ _mesa_problem(NULL, "bad format %s in _mesa_format_to_type_and_comps",
+ _mesa_get_format_name(format));
*datatype = 0;
*comps = 1;
}