зеркало из https://github.com/mozilla/gecko-dev.git
have a new interface for the blends init
This commit is contained in:
Родитель
3c44a29c2c
Коммит
356b053d66
|
@ -617,8 +617,8 @@ NS_IMETHODIMP nsView :: Paint(nsIRenderingContext& rc, const nsRect& rect,
|
||||||
width = NSToCoordRound(mBounds.width * t2p);
|
width = NSToCoordRound(mBounds.width * t2p);
|
||||||
height = NSToCoordRound(mBounds.height * t2p);
|
height = NSToCoordRound(mBounds.height * t2p);
|
||||||
|
|
||||||
blender->Init(surf, redsurf);
|
blender->Init(dx);
|
||||||
blender->Blend(0, 0, width, height, redsurf, 0, 0, opacity, PR_FALSE);
|
blender->Blend(0, 0, width, height,surf,redsurf, 0, 0, opacity, PR_FALSE);
|
||||||
|
|
||||||
NS_RELEASE(blender);
|
NS_RELEASE(blender);
|
||||||
NS_RELEASE(dx);
|
NS_RELEASE(dx);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче