As suggested by Brian Paul: in the case of a twiddling error, instead
of reporting the bad format number (which is all but unusable), report
the more useful enum name.
}
break;
default:
- printf("Cell: twiddle unsupported texture format 0x%x\n", ct->base.format);
+ printf("Cell: twiddle unsupported texture format %s\n", pf_name(ct->base.format));
;
}
default:
{
ct->untiled_data[level] = NULL;
- printf("Cell: untwiddle unsupported texture format 0x%x\n", ct->base.format);
+ printf("Cell: untwiddle unsupported texture format %s\n", pf_name(ct->base.format));
}
}