diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-27 23:03:14 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-27 23:03:14 +0100 |
commit | c9a447da8e7c69e4afda19f37bd2e4683b52edee (patch) | |
tree | f660d78390534d8ef6a34f40ecc7af5277037119 /src | |
parent | 0c5335ee65d34e45b2f9506d38cd32d56009cdad (diff) |
Add install guide to README
Diffstat (limited to 'src')
-rw-r--r-- | src/Overlay.cpp | 4 |
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); |