This allows moving Buffer instances without fear of breaking stuff. I
thought this was in since a long time, but doesn't seem so. This
reintroduces a header dependency, but until I have Containers::Storage
or something that *can* store forward-declared type safely, it's
inevitable.
"GL::Mesh::setIndexBuffer(): the buffer has unexpected target hint, expected"<<Buffer::TargetHint::ElementArray<<"but got"<<buffer.targetHint(),*this);
#endif
_indexBuffer=&buffer;
_indexBuffer=Buffer::wrap(buffer.id());
_indexOffset=offset;
_indexType=type;
#ifndef MAGNUM_TARGET_GLES2
@ -377,7 +377,7 @@ void Mesh::drawInternal(Int count, Int baseVertex, Int instanceCount, GLintptr i