have a new interface for the blends init

This commit is contained in:
dcone%netscape.com 1998-11-04 17:34:19 +00:00
Родитель 3c44a29c2c
Коммит 356b053d66
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -617,8 +617,8 @@ NS_IMETHODIMP nsView :: Paint(nsIRenderingContext& rc, const nsRect& rect,
width = NSToCoordRound(mBounds.width * t2p);
height = NSToCoordRound(mBounds.height * t2p);
blender->Init(surf, redsurf);
blender->Blend(0, 0, width, height, redsurf, 0, 0, opacity, PR_FALSE);
blender->Init(dx);
blender->Blend(0, 0, width, height,surf,redsurf, 0, 0, opacity, PR_FALSE);
NS_RELEASE(blender);
NS_RELEASE(dx);