diff options
author | John Reck <jreck@google.com> | 2015-04-10 16:06:04 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 16:06:04 +0000 |
commit | cdd3021936c90c7f561c569a32b65f6d32964aaa (patch) | |
tree | f04b0926d93d05ce26bf7e1303a027a5c0c61003 | |
parent | 72aaa88f2e060501a7f26f98c6e3fd2ee1b0dd64 (diff) | |
parent | 18ae2a020d3c720f8b6125b9f4567e953f04c7b0 (diff) | |
download | frameworks_base-cdd3021936c90c7f561c569a32b65f6d32964aaa.zip frameworks_base-cdd3021936c90c7f561c569a32b65f6d32964aaa.tar.gz frameworks_base-cdd3021936c90c7f561c569a32b65f6d32964aaa.tar.bz2 |
am 18ae2a02: am 32eafe9b: am a08f6a66: Merge "Fix GL_INVALID_OPERATION in font renderer when font cache is limited."
* commit '18ae2a020d3c720f8b6125b9f4567e953f04c7b0':
Fix GL_INVALID_OPERATION in font renderer when font cache is limited.
-rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp index 56380db..c79ae77 100644 --- a/libs/hwui/FontRenderer.cpp +++ b/libs/hwui/FontRenderer.cpp @@ -164,6 +164,8 @@ void FontRenderer::flushAllAndInvalidate() { for (uint32_t i = 0; i < mRGBACacheTextures.size(); i++) { mRGBACacheTextures[i]->init(); } + + mDrawn = false; } void FontRenderer::flushLargeCaches(Vector<CacheTexture*>& cacheTextures) { |