summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2012-10-07 15:56:54 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-10-07 15:56:55 -0700
commitd6344d76594c49b3e4e5fc062d933f021742c847 (patch)
tree0f0d9357ee322199bc4583927dc29d22fc7134c7
parentb52b6bf138c9aa5e986c8be95fcd23448792a078 (diff)
parent50ae66a554126fadee2054e0d01a9e57150cedb5 (diff)
Merge "Work around a possible driver bug Bug #7296475" into jb-mr1-dev
-rw-r--r--libs/hwui/Caches.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp
index 7853ae4168b9..d18a5b0ee28f 100644
--- a/libs/hwui/Caches.cpp
+++ b/libs/hwui/Caches.cpp
@@ -418,6 +418,7 @@ bool Caches::enableScissor() {
if (!scissorEnabled) {
glEnable(GL_SCISSOR_TEST);
scissorEnabled = true;
+ resetScissor();
return true;
}
return false;