diff options
author | Hal Canary <halcanary@google.com> | 2017-12-08 10:21:31 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-08 17:16:00 +0000 |
commit | c465d13e6fca5e171bde45d35b2dd43117f4702e (patch) | |
tree | 588b2b31ffba95ed8eecb5327cb4335f35c8c1bd /gm/encode-platform.cpp | |
parent | 4bcef3c40ad8d3a16bbca4ab74fa15256fb4b125 (diff) |
resources: orgainize directory.
Should make it easier to ask just for images.
Change-Id: If821743dc924c4bfbc6b2b2d29b14affde7b3afd
Reviewed-on: https://skia-review.googlesource.com/82684
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'gm/encode-platform.cpp')
-rw-r--r-- | gm/encode-platform.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/encode-platform.cpp b/gm/encode-platform.cpp index dd7ca6e8a8..a9eaae6128 100644 --- a/gm/encode-platform.cpp +++ b/gm/encode-platform.cpp @@ -20,12 +20,12 @@ namespace skiagm { static void make_opaque_256(SkBitmap* bitmap) { - GetResourceAsBitmap("mandrill_256.png", bitmap); + GetResourceAsBitmap("images/mandrill_256.png", bitmap); } static void make_premul_256(SkBitmap* bitmap) { SkBitmap tmp; - GetResourceAsBitmap("yellow_rose.png", &tmp); + GetResourceAsBitmap("images/yellow_rose.png", &tmp); tmp.extractSubset(bitmap, SkIRect::MakeWH(256, 256)); } |