diff --git a/shell/platform/darwin/ios/ios_gl_context.mm b/shell/platform/darwin/ios/ios_gl_context.mm index 7a51dbb6b88a626a6bebb9472a2102daec407f82..6ad9ada39824b8cde2030a7d3ed1dca831f90283 100644 --- a/shell/platform/darwin/ios/ios_gl_context.mm +++ b/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);