diff vidix/drivers/mach64_vid.c @ 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 412a67a4bf68
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;