From 75564d6b8d640c8653e5db82b5a0cba6375194c6 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 29 Aug 2021 12:56:14 +0100 Subject: [PATCH] fix madly flashing background the preprocessor symbol DEBUG is now defined to (0) even when debugging should not not be enabled, so change from checking --- src/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output.c b/src/output.c index bfcaf0dc..2410c170 100644 --- a/src/output.c +++ b/src/output.c @@ -661,7 +661,7 @@ output_render(struct output *output, pixman_region32_t *damage) goto renderer_end; } -#ifdef DEBUG +#if DEBUG wlr_renderer_clear(renderer, (float[]){0.2f, 0.0f, 0.0f, 1.0f}); #endif