Commit eb3baec0 authored by IOhannes m zmölnig's avatar IOhannes m zmölnig
Browse files

[gemvertexbuffer] more meaningful error message

parent 3a46c56d
......@@ -469,7 +469,7 @@ void gemvertexbuffer :: copyArray(const std::string&tab_name,
const bool interleaved = (0==dimen);
if(offset>vb.size) {
error("offset %d is bigger than vertexbuffer size (%d)", offset, vb.size);
error("offset %d is bigger than vertexbuffer size (%d) for %s", offset, vb.size, tab_name.c_str());
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment