Backing out last change since it caused crashes on Windows (bug 392214). b=390898

This commit is contained in:
mats.palmgren@bredband.net 2007-08-14 12:03:57 -07:00
parent 104a194eae
commit 54b58bb392

View File

@ -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;