X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fvertexsetup.cpp;fp=source%2Fcore%2Fvertexsetup.cpp;h=50f9c1837d1eff8e6bf5bfdf89d956b2cec82827;hp=7b346d8ecf5f497e53cb91d8cc65765e8fac5b01;hb=39495091719dfc699b6454f6b23925b03544da9a;hpb=64450cf937a26e267a6e7bb001b04971f3bfd35e diff --git a/source/core/vertexsetup.cpp b/source/core/vertexsetup.cpp index 7b346d8e..50f9c183 100644 --- a/source/core/vertexsetup.cpp +++ b/source/core/vertexsetup.cpp @@ -23,9 +23,9 @@ void VertexSetup::set_format(const VertexFormat &vfmt) 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);