
`st_context_invalidate_state` call is required when changing buffer attachments. Including header with BBitmap class definition is required to properly call C++ destructor. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30372>