changeset 1978:6e798c58d457

fixed to compile
author arpi
date Thu, 27 Sep 2001 12:22:27 +0000
parents 63634ecec611
children 6278f566cd91
files libvo/vo_3dfx.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_3dfx.c	Thu Sep 27 00:19:07 2001 +0000
+++ b/libvo/vo_3dfx.c	Thu Sep 27 12:22:27 2001 +0000
@@ -441,12 +441,13 @@
 }
 
 static uint32_t 
-draw_slice(uint8_t *src[], uint32_t slice_num) 
+//draw_slice(uint8_t *src[], uint32_t slice_num) 
+draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y)
 {
 	uint32_t target;
 
-	target = vidpage2offset + (screenwidth*2 * 16*slice_num);
-	dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,16);
+	target = vidpage2offset + (screenwidth*2 * y);
+	dump_yuv_planar((uint32_t *)src[0],(uint32_t *)src[1],(uint32_t *)src[2],target,vidwidth,h);
 	return 0;
 }