Fixup changeset f17694ec185b for bug 952977 r=me
authorDavid Zbarsky <dzbarsky@gmail.com>
Mon, 21 Jul 2014 22:05:18 -0400
changeset 195395 27a2c7c78e8ab760d62254176c6f93437ca3a843
parent 195394 c2d4f16ed64aa2e739031b3de29cf35041ce185e
child 195396 35d6de91604b0b3c0f603eb686eadc8668172501
push id46579
push userdzbarsky@gmail.com
push dateTue, 22 Jul 2014 02:06:46 +0000
treeherdermozilla-inbound@27a2c7c78e8a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs952977
milestone34.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fixup changeset f17694ec185b for bug 952977 r=me
gfx/layers/opengl/CompositorOGL.cpp
--- a/gfx/layers/opengl/CompositorOGL.cpp
+++ b/gfx/layers/opengl/CompositorOGL.cpp
@@ -1129,17 +1129,17 @@ CompositorOGL::DrawQuad(const Rect& aRec
       didSetBlendMode = SetBlendMode(gl(), blendMode, texturedEffect->mPremultiplied);
 
       gfx::Filter filter = texturedEffect->mFilter;
       Matrix4x4 textureTransform = source->AsSourceOGL()->GetTextureTransform();
 
 #ifdef MOZ_WIDGET_ANDROID
       gfx::Matrix textureTransform2D;
       if (filter != gfx::Filter::POINT &&
-          textureTransform.Is2DIntegerTranslation() &&
+          aTransform.Is2DIntegerTranslation() &&
           textureTransform.Is2D(&textureTransform2D) &&
           textureTransform2D.HasOnlyIntegerTranslation()) {
         // On Android we encounter small resampling errors in what should be
         // pixel-aligned compositing operations. This works around them. This
         // code should not be needed!
         filter = gfx::Filter::POINT;
       }
 #endif