commit | 39d252a6632d057d5077f7eaf1b8ed7a142f3397 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Mon Dec 12 18:14:06 2011 -0800 |
committer | Romain Guy <romainguy@google.com> | Mon Dec 12 18:14:06 2011 -0800 |
tree | c840b4084ba7fb8be54b0d387953cc6a15decbdd | |
parent | f44e66fcf70aa4a354deca72dfbd3b29c29302be [diff] [blame] |
Various OpenGL optimizations Change-Id: Ib0742c96f10f5f50e7e5148b742c31b6c232d127
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp index 3f940bb..c30923f 100644 --- a/libs/hwui/LayerRenderer.cpp +++ b/libs/hwui/LayerRenderer.cpp
@@ -458,6 +458,8 @@ } error: + glEnable(GL_SCISSOR_TEST); + #if DEBUG_OPENGL if (error != GL_NO_ERROR) { LOGD("GL error while copying layer into bitmap = 0x%x", error);