Skip to content

Commit d6344d7

Browse files
Romain GuyAndroid (Google) Code Review
authored andcommitted
Merge "Work around a possible driver bug Bug #7296475" into jb-mr1-dev
2 parents b52b6bf + 50ae66a commit d6344d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/hwui/Caches.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ bool Caches::enableScissor() {
418418
if (!scissorEnabled) {
419419
glEnable(GL_SCISSOR_TEST);
420420
scissorEnabled = true;
421+
resetScissor();
421422
return true;
422423
}
423424
return false;

0 commit comments

Comments
 (0)