void VertexSetup::set_format_instanced(const VertexFormat &vfmt, const VertexFormat &ifmt)
{
if(!verify_format(vfmt) || !verify_format(ifmt))
- throw invalid_argument("VertexSetup::set_format");
+ throw invalid_argument("VertexSetup::set_format_instanced");
if(!vertex_format.empty())
- throw invalid_operation("VertexSetup::set_format");
+ throw invalid_operation("VertexSetup::set_format_instanced");
require_format(vfmt, false);
require_format(ifmt, true);