summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gl/gskglcommandqueue.c8
-rw-r--r--gsk/gl/gskglprofiler.c6
-rw-r--r--gsk/gskprofiler.c8
-rw-r--r--gsk/gskrenderer.c2
4 files changed, 12 insertions, 12 deletions
diff --git a/gsk/gl/gskglcommandqueue.c b/gsk/gl/gskglcommandqueue.c
index cf8acc5da2..774b957785 100644
--- a/gsk/gl/gskglcommandqueue.c
+++ b/gsk/gl/gskglcommandqueue.c
@@ -1022,10 +1022,10 @@ gsk_gl_command_queue_execute (GskGLCommandQueue *self,
guint program = 0;
guint width = 0;
guint height = 0;
- G_GNUC_UNUSED guint n_binds = 0;
- guint n_fbos = 0;
- G_GNUC_UNUSED guint n_uniforms = 0;
- guint n_programs = 0;
+ G_GNUC_UNUSED unsigned int n_binds = 0;
+ G_GNUC_UNUSED unsigned int n_fbos = 0;
+ G_GNUC_UNUSED unsigned int n_uniforms = 0;
+ G_GNUC_UNUSED unsigned int n_programs = 0;
guint vao_id;
guint vbo_id;
int textures[4];
diff --git a/gsk/gl/gskglprofiler.c b/gsk/gl/gskglprofiler.c
index 2721641858..6aff5ab0a5 100644
--- a/gsk/gl/gskglprofiler.c
+++ b/gsk/gl/gskglprofiler.c
@@ -18,9 +18,9 @@ struct _GskGLProfiler
GLuint gl_queries[N_QUERIES];
GLuint active_query;
- gboolean has_queries : 1;
- gboolean has_timer : 1;
- gboolean first_frame : 1;
+ unsigned int has_queries : 1;
+ unsigned int has_timer : 1;
+ unsigned int first_frame : 1;
};
enum {
diff --git a/gsk/gskprofiler.c b/gsk/gskprofiler.c
index a34844eb70..3f35646a33 100644
--- a/gsk/gskprofiler.c
+++ b/gsk/gskprofiler.c
@@ -9,7 +9,7 @@ typedef struct {
char *description;
gint64 value;
gint64 n_samples;
- gboolean can_reset : 1;
+ unsigned int can_reset : 1;
} NamedCounter;
typedef struct {
@@ -21,9 +21,9 @@ typedef struct {
gint64 max_value;
gint64 avg_value;
gint64 n_samples;
- gboolean in_flight : 1;
- gboolean can_reset : 1;
- gboolean invert : 1;
+ unsigned int in_flight : 1;
+ unsigned int can_reset : 1;
+ unsigned int invert : 1;
} NamedTimer;
typedef struct {
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index eeb6408506..5bd214e026 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -83,7 +83,7 @@ typedef struct
GskDebugFlags debug_flags;
- gboolean is_realized : 1;
+ unsigned int is_realized : 1;
} GskRendererPrivate;
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (GskRenderer, gsk_renderer, G_TYPE_OBJECT)