diff options
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); |