# HG changeset patch # User albeu # Date 1048796732 0 # Node ID 8ae20fe919c9ac4f280c1456601a3dc166ef034c # Parent 67e69e1aa4a08b6a8f7947fd1ff0944e2c1cf178 The overlay can't downscale diff -r 67e69e1aa4a0 -r 8ae20fe919c9 drivers/tdfx_vid.c --- a/drivers/tdfx_vid.c Thu Mar 27 18:14:56 2003 +0000 +++ b/drivers/tdfx_vid.c Thu Mar 27 20:25:32 2003 +0000 @@ -586,12 +586,12 @@ } // Setup the vidproc // H scaling - if(ov.src_width != ov.dst_width) + if(ov.src_width < ov.dst_width) vidcfg |= (1<<14); else vidcfg &= ~(1<<14); // V scaling - if(ov.src_height != ov.dst_height) + if(ov.src_height < ov.dst_height) vidcfg |= (1<<15); else vidcfg &= ~(1<<15);