[gtk/wip/baedert/for-master] gl renderer: Use #ifdef for G_ENABLE_DEBUG



commit e2eb2be67093f54dd20c0a2357afdd484a431e15
Author: Timm Bäder <mail baedert org>
Date:   Fri Jan 24 13:31:09 2020 +0100

    gl renderer: Use #ifdef for G_ENABLE_DEBUG
    
    Like we do everywhere else, in case it's not defined at all

 gsk/gl/gskglrenderer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index 0dafe12c10..c5abfa31bc 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -611,7 +611,7 @@ render_fallback_node (GskGLRenderer   *self,
   cairo_fill (cr);
   cairo_restore (cr);
 
-#if G_ENABLE_DEBUG
+#ifdef G_ENABLE_DEBUG
   if (GSK_RENDERER_DEBUG_CHECK (GSK_RENDERER (self), FALLBACK))
     {
       cairo_move_to (cr, 0, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]