Fix typo, report in validate diff teh value of the pixel, not the address of the...
authoredisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 11 Jan 2013 16:08:07 +0000 (16:08 +0000)
committeredisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 11 Jan 2013 16:08:07 +0000 (16:08 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@7135 2bbb7eff-a529-9590-31e7-b0007b416f81

tools/render_pictures_main.cpp

index e3e4318..99bf7d1 100644 (file)
@@ -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);