From 1121d83cc9e99db8922b055e1613f2f442421dc8 Mon Sep 17 00:00:00 2001 From: arpi Date: Thu, 27 Sep 2001 12:22:27 +0000 Subject: [PATCH] fixed to compile git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1979 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_3dfx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libvo/vo_3dfx.c b/libvo/vo_3dfx.c index e0e7cce278..3a74510b64 100644 --- a/libvo/vo_3dfx.c +++ b/libvo/vo_3dfx.c @@ -441,12 +441,13 @@ draw_frame(uint8_t *src[]) } 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; }