mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
Backing out last change since it caused crashes on Windows (bug 392214). b=390898
This commit is contained in:
parent
104a194eae
commit
54b58bb392
@ -3887,12 +3887,6 @@ static void fbFetchTransformed(bits_image_t * pict, int x, int y, int width, uin
|
||||
idistx = 256 - distx;
|
||||
idisty = 256 - disty;
|
||||
|
||||
// XXX bandaid for bug 390898
|
||||
x1 = MOD (x1, pict->width);
|
||||
x2 = MOD (x2, pict->width);
|
||||
y1 = MOD (y1, pict->height);
|
||||
y2 = MOD (y2, pict->height);
|
||||
|
||||
b = bits + (y1)*stride;
|
||||
x_off = x1;
|
||||
|
||||
@ -3959,12 +3953,6 @@ static void fbFetchTransformed(bits_image_t * pict, int x, int y, int width, uin
|
||||
idistx = 256 - distx;
|
||||
idisty = 256 - disty;
|
||||
|
||||
// XXX bandaid for bug 390898
|
||||
x1 = MOD (x1, pict->width);
|
||||
x2 = MOD (x2, pict->width);
|
||||
y1 = MOD (y1, pict->height);
|
||||
y2 = MOD (y2, pict->height);
|
||||
|
||||
b = bits + (y1)*stride;
|
||||
x_off = x1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user