am 5f6e583c: Merge "Don\'t break the build!" into honeycomb

* commit '5f6e583cc8c27ac2eb217a7d1065a6aeda00a033':
  Don't break the build!
This commit is contained in:
Romain Guy
2011-01-11 17:58:18 -08:00
committed by Android Git Automerger

View File

@@ -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;