c/compositor: change idle clear color to black

OLED hmds dont appreciate being driven to white for long periods

Signed-off-by: Carl Philipp Klemm <carl@uvos.xyz>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2601>
This commit is contained in:
Carl Philipp Klemm authored and Jakob Bornecrantz committed 2025-10-18 15:08:39 +00:00
1 parent 27d67605bb
commit 4d6464912e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ void main()
return;
}
vec4 colour = vec4(from_linear_to_srgb(vec3(0.1)), 1.0);
vec4 colour = vec4(0, 0, 0, 1.0);
imageStore(target, ivec2(offset.x + ix, offset.y + iy), colour);
}
+1 -1
View File
@@ -113,7 +113,7 @@ struct gfx_mesh_data
*/
static const VkClearColorValue background_color_idle = {
.float32 = {0.1f, 0.1f, 0.1f, 1.0f},
.float32 = {0.0f, 0.0f, 0.0f, 1.0f},
};
static const VkClearColorValue background_color_active = {