aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-28 17:32:21 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-28 17:32:21 +0100
commit8cab9abe712400c8df49ea448d5f920b83c4c333 (patch)
tree18275ebc6dd75e014d16cbcc7dcfdd0848b4ec7d /src/Overlay.cpp
parenta0f0bf33fa31dbd6097ffb2c8c3f8ccb199ee6e2 (diff)
Fix transparent background when compositor is running
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index e7ffa88..1d884d6 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -294,7 +294,7 @@ namespace gsr {
if(!window)
return false;
- window->clear();
+ window->clear(bg_color);
if(window_texture_sprite.get_texture() && window_texture.texture_id) {
window->draw(window_texture_sprite);