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
This commit is contained in:
parent
d6e6aef1d2
commit
01754bfd9d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user