GLenum attachments[] = { GL_DEPTH, GL_STENCIL };
mImpl->context.InvalidateFramebuffer(GL_FRAMEBUFFER, 2, attachments);
GLenum attachments[] = { GL_DEPTH, GL_STENCIL };
mImpl->context.InvalidateFramebuffer(GL_FRAMEBUFFER, 2, attachments);
// If this frame was rendered due to instructions existing, we mark this so we know to clear the next frame.
mImpl->lastFrameWasRendered = haveInstructions;
// If this frame was rendered due to instructions existing, we mark this so we know to clear the next frame.
mImpl->lastFrameWasRendered = haveInstructions;