y was off-by-1 when calling UpdateImage() in cairo builds
git-svn-id: svn://10.0.0.236/trunk@193359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -557,7 +557,7 @@ nsJPEGDecoder::OutputScanlines()
|
||||
PRUint8 b = *j1++;
|
||||
*ptrOutputBuf++ = (0xFF << 24) | (r << 16) | (g << 8) | b;
|
||||
}
|
||||
r.y = mInfo.output_scanline;
|
||||
r.y = mInfo.output_scanline - 1;
|
||||
img->ImageUpdated(nsnull, nsImageUpdateFlags_kBitsChanged, &r);
|
||||
#else
|
||||
|
||||
|
||||
Reference in New Issue
Block a user