changeset 9706:8ae20fe919c9

The overlay can't downscale
author albeu
date Thu, 27 Mar 2003 20:25:32 +0000
parents 67e69e1aa4a0
children 53e738a54064
files drivers/tdfx_vid.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);