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

* commit 'a82444ad3aa87cc8ce8a585a6e1937ac6cd9ee18':
  Don't break the build!
This commit is contained in:
Romain Guy
2011-01-11 18:00:47 -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;