summaryrefslogtreecommitdiff
path: root/libs/hwui/FontRenderer.cpp
diff options
context:
space:
mode:
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
commitcdd3021936c90c7f561c569a32b65f6d32964aaa (patch)
treef04b0926d93d05ce26bf7e1303a027a5c0c61003 /libs/hwui/FontRenderer.cpp
parent72aaa88f2e060501a7f26f98c6e3fd2ee1b0dd64 (diff)
parent18ae2a020d3c720f8b6125b9f4567e953f04c7b0 (diff)
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.
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r--libs/hwui/FontRenderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp
index 56380db03602..c79ae777d051 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) {