Extend max level to include i for writing and so fb is complete and avoid resulting errors like: "Framebuffer is incomplete: Attachment level is not in the [base level, max level] range". (cherry picked from commit e9bbe6fc78)
e9bbe6fc78
String::copy_from
parse_latin1
parse_wstring
parse_utf32