diff options
Diffstat (limited to 'o3d/core/cross/canvas.cc')
-rw-r--r-- | o3d/core/cross/canvas.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/o3d/core/cross/canvas.cc b/o3d/core/cross/canvas.cc index 6040000..7e8f975 100644 --- a/o3d/core/cross/canvas.cc +++ b/o3d/core/cross/canvas.cc @@ -215,10 +215,11 @@ void Canvas::DrawBitmap(Texture2D* texture2d, SaveMatrix(); if (flip_) { Scale(1, -1); + bottom = -bottom; } sk_canvas_.drawBitmap(bitmap, SkFloatToScalar(left), - SkFloatToScalar(-bottom), + SkFloatToScalar(bottom), NULL); RestoreMatrix(); } |