diff options
| author | 2013-04-04 22:47:53 +0000 | |
|---|---|---|
| committer | 2013-04-04 22:51:38 +0000 | |
| commit | a151ef8c667a52d9fae28c09f780784f19bdb039 (patch) | |
| tree | a0e43a7a4da4df3e9ae4812479f6ee44e77f6d42 /libs/hwui/Layer.cpp | |
| parent | faec826bd6051e41e1299cd14d580a4f50f6fe97 (diff) | |
| parent | 0908764b2b3cf5075df4178a5f0a8547dcb7b317 (diff) | |
Merge "First OpenGL ES 3.0 based optimization" into jb-mr2-dev
Diffstat (limited to 'libs/hwui/Layer.cpp')
| -rw-r--r-- | libs/hwui/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp index d257110c5088..a71829464434 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp @@ -90,7 +90,7 @@ bool Layer::resize(const uint32_t width, const uint32_t height) { if (fbo) { Caches::getInstance().activeTexture(0); bindTexture(); - allocateTexture(GL_RGBA, GL_UNSIGNED_BYTE); + allocateTexture(); if (glGetError() != GL_NO_ERROR) { setSize(oldWidth, oldHeight); |