changeset 4722:39f3bfae472c

Direct rendering with dshow codecs support. (Was untested but should work)
author nick
date Sat, 16 Feb 2002 08:20:24 +0000
parents e441ca06638d
children 93e959f0a6e4
files vidix/drivers/mach64_vid.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/mach64_vid.c	Sat Feb 16 07:55:44 2002 +0000
+++ b/vidix/drivers/mach64_vid.c	Sat Feb 16 08:20:24 2002 +0000
@@ -450,8 +450,8 @@
 		else						pitch = 32;
 		break;
 	default:
-		if(spy > 16)	pitch = spy;
-		else		pitch = 32;
+		if(spy >= 16)	pitch = spy;
+		else		pitch = 16;
 		break;
   }
   return pitch;