summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/LayerBuffer.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-08-24 16:28:57 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-24 16:28:57 -0700
commitbc4389edfbb5777aec1a9af7863b2ca3ade2fa64 (patch)
tree0f2f042bec24880c59c2b03246a1909c4185db8f /services/surfaceflinger/LayerBuffer.cpp
parent67ca90b339feb8bb6889ca289a9dbc82c447b0d2 (diff)
parent8395b4625b96f2133e2e4f595fdc69fbe222e4fc (diff)
downloadframeworks_base-bc4389edfbb5777aec1a9af7863b2ca3ade2fa64.zip
frameworks_base-bc4389edfbb5777aec1a9af7863b2ca3ade2fa64.tar.gz
frameworks_base-bc4389edfbb5777aec1a9af7863b2ca3ade2fa64.tar.bz2
am 8395b462: Merge "fix [2931513] Add support for setting the orientation of an ANativeWindow" into gingerbread
Merge commit '8395b4625b96f2133e2e4f595fdc69fbe222e4fc' into gingerbread-plus-aosp * commit '8395b4625b96f2133e2e4f595fdc69fbe222e4fc': fix [2931513] Add support for setting the orientation of an ANativeWindow
Diffstat (limited to 'services/surfaceflinger/LayerBuffer.cpp')
-rw-r--r--services/surfaceflinger/LayerBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/LayerBuffer.cpp b/services/surfaceflinger/LayerBuffer.cpp
index e8b2ebf..fdf9abc 100644
--- a/services/surfaceflinger/LayerBuffer.cpp
+++ b/services/surfaceflinger/LayerBuffer.cpp
@@ -485,7 +485,7 @@ void LayerBuffer::BufferSource::onDraw(const Region& clip) const
mTextureManager.loadTexture(&mTexture, dirty, t);
}
- mTexture.transform = mBufferHeap.transform;
+ mLayer.setBufferTransform(mBufferHeap.transform);
mLayer.drawWithOpenGL(clip, mTexture);
}