mesa: improve error message

This commit is contained in:
Brian Paul 2010-11-11 07:43:30 -07:00
parent 624661cae4
commit c9126d66fa

View file

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