Cleanup code as it does not use Scene's attribute anymore.

This commit is contained in:
Yao Wei Tjong 姚伟忠 2014-03-14 17:52:23 +08:00
parent 0115beaad6
commit 2ea6f31f2b

View File

@ -93,10 +93,6 @@ void StaticSprite2D::UpdateVertices()
if (!verticesDirty_)
return;
Scene* scene = GetScene();
if (!scene)
return;
vertices_.Clear();
Texture2D* texture = GetTexture();