[gtk/wip/chergert/glproto: 389/526] use gboolean instead of bool




commit 726ecca2a515dbaf132d6146d82c3788f6cdaecc
Author: Christian Hergert <chergert redhat com>
Date:   Mon Feb 1 13:22:53 2021 -0800

    use gboolean instead of bool
    
    there is no value in saving the stack bytes here and you have to upload
    words into registers anyway. just be consistent everywhere and use int.

 gsk/next/gskglrenderjob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index e8ebb558e8..40cc4ba9bb 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -327,7 +327,7 @@ intersect_rounded_rectilinear (const graphene_rect_t *non_rounded,
                                const GskRoundedRect  *rounded,
                                GskRoundedRect        *result)
 {
-  bool corners[4];
+  gboolean corners[4];
 
   /* Intersects with top left corner? */
   corners[0] = rounded_rect_has_corner (rounded, 0) &&


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