From a9d0711392689a94b9f76eb0c16d0718c005603e Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Tue, 11 Jan 2011 17:58:03 -0800 Subject: Don't break the build! Change-Id: I42f68c7b023c03adeedc4e979e5f4705188ee9f4 --- libs/hwui/LayerRenderer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/hwui/LayerRenderer.cpp') 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; -- cgit v1.2.3-59-g8ed1b