summaryrefslogtreecommitdiffstatsci
path: root/src/skia-tests/fill.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-05-08 10:22:35 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-05-08 18:50:52 -0700
commite4a47f2f5e6a4422c8899cf1858df649f11098ea (patch)
treea27c72a2661f4a0ac671100049074db7223dd94a /src/skia-tests/fill.cpp
parent6462239c7432142640eaa3cc0f9b80fb102014d2 (diff)
Track the image path as part of the cairo context, not a shape default
We aren't randomizing the image or varying it from shape to shape, so it doesn't really belong in the shapes structure.
Diffstat (limited to 'src/skia-tests/fill.cpp')
-rw-r--r--src/skia-tests/fill.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skia-tests/fill.cpp b/src/skia-tests/fill.cpp
index 9373453..d8ca2c5 100644
--- a/src/skia-tests/fill.cpp
+++ b/src/skia-tests/fill.cpp
@@ -149,7 +149,7 @@ void drawSkiaShapes(caskbench_context_t *ctx, kinetics_t *particle)
{
SkBitmap bm;
- SkImageDecoder::DecodeFile(ctx->shape_defaults.image_path, &bm);
+ SkImageDecoder::DecodeFile(ctx->stock_image_path, &bm);
shader = SkShader::CreateBitmapShader(bm, SkShader::kClamp_TileMode,
SkShader::kClamp_TileMode);
}