diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-07 05:08:14 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-07 05:08:14 +0000 |
commit | 818777b319ceedf15ad5db42046b25f6c348c954 (patch) | |
tree | 7756306765a8cb85edd5b3d9e2965538870f5c21 | |
parent | e7a71404d49013619719d0685b97606ca1831261 (diff) |
rmdmacro.h: changed MARK_BACK_BUFFER macro
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@400 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | recordmydesktop/include/rmdmacro.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/recordmydesktop/include/rmdmacro.h b/recordmydesktop/include/rmdmacro.h index b768ac5..a42869e 100644 --- a/recordmydesktop/include/rmdmacro.h +++ b/recordmydesktop/include/rmdmacro.h @@ -200,6 +200,7 @@ (args)->height=\ (args)->nosound=\ (args)->full_shots=\ + (args)->follow_mouse=\ (args)->encOnTheFly=\ (args)->nowmcheck=\ (args)->overwrite=\ @@ -630,7 +631,6 @@ } #define MARK_BACK_BUFFER( data,\ - data_back,\ x_tm,\ y_tm,\ width_tm,\ @@ -639,7 +639,6 @@ __bit_depth__){\ if((__bit_depth__==24)||(__bit_depth__==32)){\ MARK_BACK_BUFFER_C( data,\ - data_back,\ x_tm,\ y_tm,\ width_tm,\ @@ -649,7 +648,6 @@ }\ else{\ MARK_BACK_BUFFER_C( data,\ - data_back,\ x_tm,\ y_tm,\ width_tm,\ @@ -661,7 +659,6 @@ #define MARK_BACK_BUFFER_C( data,\ - data_back,\ x_tm,\ y_tm,\ width_tm,\ @@ -671,17 +668,13 @@ int k,i;\ register u_int##__bit_depth__##_t\ *datapi=\ - ((u_int##__bit_depth__##_t *)data)+y_tm*buffer_width+x_tm,\ - *datapi_back=\ - ((u_int##__bit_depth__##_t *)data_back)+y_tm*buffer_width+x_tm;\ + ((u_int##__bit_depth__##_t *)data)+y_tm*buffer_width+x_tm;\ for(k=0;k<height_tm;k++){\ for(i=0;i<width_tm;i++){\ - *datapi_back=*datapi+1;\ + *datapi+=1;\ datapi++;\ - datapi_back++;\ }\ datapi+=buffer_width-width_tm;\ - datapi_back+=buffer_width-width_tm;\ }\ } |