Merge pull request #7190 from minggo/perf-improve

use reference instead
This commit is contained in:
minggo 2014-06-24 18:25:53 +08:00
commit 75245cb99e
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ void Sprite::updateTransform(void)
// calculate the Quad based on the Affine Matrix // calculate the Quad based on the Affine Matrix
// //
Size size = _rect.size; Size &size = _rect.size;
float x1 = _offsetPosition.x; float x1 = _offsetPosition.x;
float y1 = _offsetPosition.y; float y1 = _offsetPosition.y;