Don't break the build!

Change-Id: I42f68c7b023c03adeedc4e979e5f4705188ee9f4
diff --git a/libs/hwui/LayerRenderer.cpp b/libs/hwui/LayerRenderer.cpp
index 3583b86..a15165d 100644
--- a/libs/hwui/LayerRenderer.cpp
+++ b/libs/hwui/LayerRenderer.cpp
@@ -99,8 +99,7 @@
 
     if (glGetError() != GL_NO_ERROR) {
         glDeleteBuffers(1, &fbo);
-        glDeleteTextures(1, texture);
-        glBindFramebuffer(GL_FRAMEBUFFER, previousFbo);
+        glDeleteTextures(1, &texture);
 
         *layerWidth = 0;
         *layerHeight = 0;