commit | 3c2b7fa8c584c5ed56f1bd6ad53f2e87f0a6eb44 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Mon Jul 07 09:16:54 2014 -0700 |
committer | John Reck <jreck@google.com> | Mon Jul 07 18:05:00 2014 +0000 |
tree | 35cb70afd4fbf892716f65c4a8b1bff49eb33714 | |
parent | 32fb6307de7c3ee9399a39dc6734f1c82ffd1dcb [diff] [blame] |
Add missing requireGlContext Change-Id: I7100e5e9986f502f66a23ecea07a6057522c43ac
diff --git a/libs/hwui/renderthread/CanvasContext.cpp b/libs/hwui/renderthread/CanvasContext.cpp index 524ee62dd..f5d4f8b 100644 --- a/libs/hwui/renderthread/CanvasContext.cpp +++ b/libs/hwui/renderthread/CanvasContext.cpp
@@ -260,6 +260,7 @@ // No context means nothing to free if (!thread.eglManager().hasEglContext()) return; + thread.eglManager().requireGlContext(); if (level >= TRIM_MEMORY_COMPLETE) { Caches::getInstance().flush(Caches::kFlushMode_Full); thread.eglManager().destroy();