# HG changeset patch # User arpi # Date 1001593347 0 # Node ID 6e798c58d457b4f9d3c03d16154e9c914dad94a8 # Parent 63634ecec6115e90808353edb69450485f50984e fixed to compile diff -r 63634ecec611 -r 6e798c58d457 libvo/vo_3dfx.c --- 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; }