diff options
author | 2011-12-12 18:14:06 -0800 | |
---|---|---|
committer | 2011-12-12 18:14:06 -0800 | |
commit | 39d252a6632d057d5077f7eaf1b8ed7a142f3397 (patch) | |
tree | c840b4084ba7fb8be54b0d387953cc6a15decbdd /libs/hwui/LayerCache.cpp | |
parent | f44e66fcf70aa4a354deca72dfbd3b29c29302be (diff) |
Various OpenGL optimizations
Change-Id: Ib0742c96f10f5f50e7e5148b742c31b6c232d127
Diffstat (limited to 'libs/hwui/LayerCache.cpp')
-rw-r--r-- | libs/hwui/LayerCache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/LayerCache.cpp b/libs/hwui/LayerCache.cpp index 52981259336e..324765b0aed9 100644 --- a/libs/hwui/LayerCache.cpp +++ b/libs/hwui/LayerCache.cpp @@ -108,8 +108,8 @@ Layer* LayerCache::get(const uint32_t width, const uint32_t height) { layer->generateTexture(); layer->bindTexture(); - layer->setFilter(GL_NEAREST, GL_NEAREST); - layer->setWrap(GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE, false); + layer->setFilter(GL_NEAREST); + layer->setWrap(GL_CLAMP_TO_EDGE, false); glPixelStorei(GL_UNPACK_ALIGNMENT, 4); #if DEBUG_LAYERS |