Add missing ImGui renderer shutdown to the Wayland backend.

This commit is contained in:
Bartosz Taudul 2024-03-01 22:11:30 +01:00
parent ec549c4831
commit bdfcc5b814
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -767,6 +767,8 @@ Backend::Backend( const char* title, const std::function<void()>& redraw, const
Backend::~Backend()
{
ImGui_ImplOpenGL3_Shutdown();
if( s_tldec ) zxdg_toplevel_decoration_v1_destroy( s_tldec );
if( s_decoration ) zxdg_decoration_manager_v1_destroy( s_decoration );
if( s_actToken ) xdg_activation_token_v1_destroy( s_actToken );