--- radeon_driver.c.org 2006-11-11 13:04:28.000000000 +0100 +++ radeon_driver.c 2006-11-11 13:05:49.000000000 +0100 @@ -8198,8 +8198,8 @@ } else { save->fp_horz_stretch = - ((((unsigned long)(Hratio * RADEON_HORZ_STRETCH_RATIO_MAX + - 0.5)) & RADEON_HORZ_STRETCH_RATIO_MASK)) | + ((((unsigned long)(Hratio * RADEON_HORZ_STRETCH_RATIO_MAX)) + & RADEON_HORZ_STRETCH_RATIO_MASK)) | (orig->fp_horz_stretch & (RADEON_HORZ_PANEL_SIZE | RADEON_HORZ_FP_LOOP_STRETCH | RADEON_HORZ_AUTO_RATIO_INC)); @@ -8221,8 +8221,8 @@ save->fp_vert_stretch |= ((yres-1) << 12); } else { save->fp_vert_stretch = - (((((unsigned long)(Vratio * RADEON_VERT_STRETCH_RATIO_MAX + - 0.5)) & RADEON_VERT_STRETCH_RATIO_MASK)) | + (((((unsigned long)(Vratio * RADEON_VERT_STRETCH_RATIO_MAX)) + & RADEON_VERT_STRETCH_RATIO_MASK)) | (orig->fp_vert_stretch & (RADEON_VERT_PANEL_SIZE | RADEON_VERT_STRETCH_RESERVED))); save->fp_vert_stretch |= (RADEON_VERT_STRETCH_ENABLE |