[deploy] bug fix
This commit is contained in:
parent
502f3b2f3b
commit
83fa857f52
|
|
@ -411,7 +411,8 @@ inline void CanvasRenderContext::DrawTexture(TexturePtr texture, const Point& po
|
||||||
|
|
||||||
if (texture)
|
if (texture)
|
||||||
{
|
{
|
||||||
ctx_->DrawTexture(*texture, crop_rect, &Rect(pos, size));
|
Rect dest_rect(pos, size);
|
||||||
|
ctx_->DrawTexture(*texture, crop_rect, &dest_rect);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue