remove unused code

This commit is contained in:
ExMix 2013-03-21 14:13:01 +03:00 committed by Alex Zolotarev
parent 898ac84f05
commit decb2ffd62
2 changed files with 1 additions and 3 deletions

View file

@ -268,7 +268,6 @@ namespace graphics
void Renderer::finish(bool doForce)
{
shared_ptr<Command> command(new FinishCommand());
processCommand(make_shared_ptr(new FinishCommand()), Packet::ECommand, doForce);
}

View file

@ -183,8 +183,7 @@ namespace graphics
: TextElement(src),
m_glyphLayouts(src.m_glyphLayouts)
{
for (unsigned i = 0; i < m_glyphLayouts.size(); ++i)
m_offsets = src.m_offsets;
m_offsets = src.m_offsets;
setPivot(pivot() * m);