diff options
| author | Romain Guy <romainguy@google.com> | 2010-07-29 18:48:04 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2010-07-29 18:48:04 -0700 |
| commit | ae5575b3421c8fbe590ab046d7d5f2b36ecfd821 (patch) | |
| tree | 2e4cfe7b83c81492a577428e0f8b7cb33faaa551 /libs/hwui/Snapshot.h | |
| parent | 889f8d1403761d5668115ced6cbb3f767cfe966d (diff) | |
| download | frameworks_base-ae5575b3421c8fbe590ab046d7d5f2b36ecfd821.zip frameworks_base-ae5575b3421c8fbe590ab046d7d5f2b36ecfd821.tar.gz frameworks_base-ae5575b3421c8fbe590ab046d7d5f2b36ecfd821.tar.bz2 | |
Fix gradients rendering and destructor crashes.
This changes binds all textures to GL_TEXTURE0, this will have
to be changed when combining shader capabilities.
Change-Id: I02df4f5ba41e9b01ffa52fd7c26b41477c7ed18f
Diffstat (limited to 'libs/hwui/Snapshot.h')
| -rw-r--r-- | libs/hwui/Snapshot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Snapshot.h b/libs/hwui/Snapshot.h index cc7fde9..020bdb0 100644 --- a/libs/hwui/Snapshot.h +++ b/libs/hwui/Snapshot.h @@ -50,7 +50,7 @@ public: * assumed to be dirty. The specified snapshot is stored as the previous * snapshot. */ - Snapshot(const sp<Snapshot> s): + Snapshot(const sp<Snapshot>& s): height(s->height), transform(s->transform), clipRect(s->clipRect), |
