diff options
author | Chris Craik <ccraik@google.com> | 2015-02-18 09:24:33 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-02-18 17:47:21 +0000 |
commit | 36a35e366a65980843b96759f863643f17ca1ee7 (patch) | |
tree | c4eba90c7c54625044e7fc97d09e31021065aeeb /libs/hwui/SkiaShader.cpp | |
parent | 6c770900d6dc96b98c980c23f4a62ccf30a36586 (diff) | |
download | frameworks_base-36a35e366a65980843b96759f863643f17ca1ee7.zip frameworks_base-36a35e366a65980843b96759f863643f17ca1ee7.tar.gz frameworks_base-36a35e366a65980843b96759f863643f17ca1ee7.tar.bz2 |
Fix layer shader to store layer pointer
bug:19419672
Change-Id: I4277348ceab41fbf45a107a8b21f64e2b4af23e0
Diffstat (limited to 'libs/hwui/SkiaShader.cpp')
-rw-r--r-- | libs/hwui/SkiaShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/SkiaShader.cpp b/libs/hwui/SkiaShader.cpp index 81531e8..2fcf7f3 100644 --- a/libs/hwui/SkiaShader.cpp +++ b/libs/hwui/SkiaShader.cpp @@ -685,7 +685,7 @@ bool tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelV } description->hasBitmap = true; - + outData->layer = layer; outData->bitmapSampler = (*textureUnit)++; const float width = layer->getWidth(); |