aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-27 23:03:14 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-27 23:03:14 +0100
commitc9a447da8e7c69e4afda19f37bd2e4683b52edee (patch)
treef660d78390534d8ef6a34f40ecc7af5277037119 /src
parent0c5335ee65d34e45b2f9506d38cd32d56009cdad (diff)
Add install guide to README
Diffstat (limited to 'src')
-rw-r--r--src/Overlay.cpp4
1 files changed, 4 insertions, 0 deletions
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);