mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-18 05:40:02 +01:00
clear buffer
git-svn-id: svn://code.dyne.org/veejay/trunk@810 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -75,10 +75,14 @@ int timedistort_malloc( int w, int h )
|
|||||||
if(!nonmap)
|
if(!nonmap)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
planes[0] = vj_calloc( (PLANES * 3 * w * h) * sizeof(uint8_t));
|
planes[0] = vj_malloc( (PLANES * 3 * w * h) * sizeof(uint8_t));
|
||||||
planes[1] = planes[0] + (PLANES * w * h );
|
planes[1] = planes[0] + (PLANES * w * h );
|
||||||
planes[2] = planes[1] + (PLANES * w * h );
|
planes[2] = planes[1] + (PLANES * w * h );
|
||||||
|
|
||||||
|
veejay_memset( planes[0],0, (PLANES * w * h ));
|
||||||
|
veejay_memset( planes[1],128,(PLANES * w * H ));
|
||||||
|
veejay_memset( planes[2],128,(PLANES * w * H ));
|
||||||
|
|
||||||
have_bg = 0;
|
have_bg = 0;
|
||||||
n__ = 0;
|
n__ = 0;
|
||||||
N__ = 0;
|
N__ = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user