diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-27 12:22:27 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-09-27 12:22:27 +0000 |
commit | 1121d83cc9e99db8922b055e1613f2f442421dc8 (patch) | |
tree | 31ec8f78479a44110e31d8d2eee41e91de49b66f | |
parent | ce45df9df62f93f1482db20462397c4b8de5c1a3 (diff) |
fixed to compile
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1979 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_3dfx.c | 7 |
1 files 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; } |