Merge "Don't break the build!" into honeycomb

This commit is contained in:
Romain Guy
2011-01-11 17:56:09 -08:00
committed by Android (Google) Code Review

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;