diff options
Diffstat (limited to 'tools/fiddle')
-rw-r--r-- | tools/fiddle/draw.cpp | 2 | ||||
-rw-r--r-- | tools/fiddle/fiddle_main.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/fiddle/draw.cpp b/tools/fiddle/draw.cpp index 78f428da2a..68cbbdf8d6 100644 --- a/tools/fiddle/draw.cpp +++ b/tools/fiddle/draw.cpp @@ -12,7 +12,7 @@ #include "fiddle_main.h" DrawOptions GetDrawOptions() { // path *should* be absolute. - static const char path[] = "../../resources/color_wheel.png"; + static const char path[] = "resources/color_wheel.png"; return DrawOptions(256, 256, true, true, true, true, path); } void draw(SkCanvas* canvas) { diff --git a/tools/fiddle/fiddle_main.cpp b/tools/fiddle/fiddle_main.cpp index 1c80c4416c..df2e8ff66e 100644 --- a/tools/fiddle/fiddle_main.cpp +++ b/tools/fiddle/fiddle_main.cpp @@ -7,6 +7,9 @@ #include <stdio.h> #include <stdlib.h> +#include "SkForceLinking.h" + +__SK_FORCE_IMAGE_DECODER_LINKING; #include "fiddle_main.h" |