diff --git a/engine/src/flutter/shell/platform/darwin/ios/ios_gl_context.mm b/engine/src/flutter/shell/platform/darwin/ios/ios_gl_context.mm index 7a51dbb6b8..6ad9ada398 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/ios_gl_context.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/ios_gl_context.mm @@ -193,7 +193,7 @@ bool IOSGLContext::UpdateStorageSizeIfNecessary() { bool rebind_color_buffer = false; if (depthbuffer_ != GL_NONE || stencilbuffer_ != GL_NONE || - depth_stencil_packed_buffer_ != GL_NONE) { + depth_stencil_packed_buffer_ != GL_NONE || colorbuffer_ != GL_NONE) { // Fetch the dimensions of the color buffer whose backing was just updated // so that backing of the attachments can be updated glGetRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_WIDTH, &width);