def METHOD_NAME(ctx):
    tex = ctx.texture((100, 100), components=4)
    fbo = ctx.framebuffer(color_attachments=[tex])
    assert fbo.size == tex.size
    tex.resize((200, 200))
    assert tex.size == (200, 200)
    fbo.resize()
    assert fbo.size == tex.size
    assert fbo.viewport == (0, 0, *fbo.size)