diff options
| author | 2011-01-11 17:58:03 -0800 | |
|---|---|---|
| committer | 2011-01-11 17:59:10 -0800 | |
| commit | a9d0711392689a94b9f76eb0c16d0718c005603e (patch) | |
| tree | 350a11e1e89131f097c1d7f6f7b05aa765e0a40e | |
| parent | 6c319ca1275c8db892c39b48fc54864c949f9171 (diff) | |
Don't break the build!
Change-Id: I42f68c7b023c03adeedc4e979e5f4705188ee9f4
| -rw-r--r-- | libs/hwui/LayerRenderer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp index 3583b8658254..a15165d6fd21 100644 --- a/libs/hwui/LayerRenderer.cpp +++ b/libs/hwui/LayerRenderer.cpp @@ -99,8 +99,7 @@ void LayerRenderer::resizeLayer(GLuint fbo, GLuint texture, uint32_t width, uint if (glGetError() != GL_NO_ERROR) { glDeleteBuffers(1, &fbo); - glDeleteTextures(1, texture); - glBindFramebuffer(GL_FRAMEBUFFER, previousFbo); + glDeleteTextures(1, &texture); *layerWidth = 0; *layerHeight = 0; |