aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gm/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/image.cpp b/gm/image.cpp
index f2f21923d5..f9e7215c8f 100644
--- a/gm/image.cpp
+++ b/gm/image.cpp
@@ -505,6 +505,6 @@ DEF_SIMPLE_GM(new_texture_image, canvas, 280, 60) {
canvas->drawImage(texImage, 0, 0);
}
}
- canvas->translate(image->width() + kPad, 0);
+ canvas->translate(kSize + kPad, 0);
}
}