aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-11 16:08:07 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-11 16:08:07 +0000
commit01754bfd9dcafb98a00a0b4bdc2682d5c970aa2a (patch)
tree82369f7a500884bc1a357a70abc783e7f80e5630 /tools
parentd6e6aef1d24f3d2cd9e7f02a9e54b1ad4dac57bc (diff)
Fix typo, report in validate diff teh value of the pixel, not the address of the pixel.
git-svn-id: http://skia.googlecode.com/svn/trunk@7135 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r--tools/render_pictures_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp
index e3e43184d9..99bf7d1aa9 100644
--- a/tools/render_pictures_main.cpp
+++ b/tools/render_pictures_main.cpp
@@ -224,7 +224,7 @@ static bool render_picture(const SkString& inputPath, const SkString* outputDir,
if (*referenceBitmap->getAddr32(x, y) != *bitmap->getAddr32(x, y)) {
SkDebugf("Expected pixel at (%i %i): 0x%x, actual 0x%x\n",
x, y,
- referenceBitmap->getAddr32(x, y),
+ *referenceBitmap->getAddr32(x, y),
*bitmap->getAddr32(x, y));
SkDELETE(bitmap);
SkDELETE(referenceBitmap);