From c9a447da8e7c69e4afda19f37bd2e4683b52edee Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Oct 2024 23:03:14 +0100 Subject: Add install guide to README --- src/Overlay.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Overlay.cpp') diff --git a/src/Overlay.cpp b/src/Overlay.cpp index 5ab927d..e7ffa88 100644 --- a/src/Overlay.cpp +++ b/src/Overlay.cpp @@ -571,6 +571,10 @@ namespace gsr { XFlush(display); window_texture_deinit(&window_texture); + window_texture_sprite.set_texture(nullptr); + screenshot_texture.clear(); + screenshot_sprite.set_texture(nullptr); + visible = false; if(window) { window->set_visible(false); -- cgit v1.2.3