From: Daniel Barlow Date: Sun, 29 Aug 2021 11:56:14 +0000 (+0100) Subject: fix madly flashing background X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=75564d6b8d640c8653e5db82b5a0cba6375194c6;p=proto%2Flabwc.git 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 --- 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