Bug 671986 - ImageLayerOGL does not apply offset/transform for layer r=jrmuizel

This commit is contained in:
Oleg Romashin 2011-07-17 12:07:41 +02:00
parent 493ba720dd
commit 02c7078314

View File

@ -947,6 +947,9 @@ ShadowImageLayerOGL::RenderLayer(int aPreviousFrameBuffer,
colorProgram->Activate();
colorProgram->SetTextureUnit(0);
colorProgram->SetLayerTransform(GetEffectiveTransform());
colorProgram->SetLayerOpacity(GetEffectiveOpacity());
colorProgram->SetRenderOffset(aOffset);
mTexImage->BeginTileIteration();
do {