Merge "Don't break the build!" into honeycomb
This commit is contained in:
@@ -99,8 +99,7 @@ void LayerRenderer::resizeLayer(GLuint fbo, GLuint texture, uint32_t width, uint
|
|||||||
|
|
||||||
if (glGetError() != GL_NO_ERROR) {
|
if (glGetError() != GL_NO_ERROR) {
|
||||||
glDeleteBuffers(1, &fbo);
|
glDeleteBuffers(1, &fbo);
|
||||||
glDeleteTextures(1, texture);
|
glDeleteTextures(1, &texture);
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, previousFbo);
|
|
||||||
|
|
||||||
*layerWidth = 0;
|
*layerWidth = 0;
|
||||||
*layerHeight = 0;
|
*layerHeight = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user