[gtk/wip/chergert/glproto] use gboolean instead of bool
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto] use gboolean instead of bool
- Date: Mon, 1 Feb 2021 21:23:48 +0000 (UTC)
commit db3ab5ce3b062d5b38a9ed69b2412108cbf6af32
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]