summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glamor.c4
-rw-r--r--src/glamor_priv.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/glamor.c b/src/glamor.c
index 4a2f5ad..24cbbf4 100644
--- a/src/glamor.c
+++ b/src/glamor.c
@@ -284,9 +284,9 @@ glamor_init(ScreenPtr screen, unsigned int flags)
return FALSE;
if (flags & GLAMOR_INVERTED_Y_AXIS) {
- glamor_priv->yInverted = 1;
+ glamor_priv->yInverted = TRUE;
} else
- glamor_priv->yInverted = 0;
+ glamor_priv->yInverted = FALSE;
if (!dixRegisterPrivateKey
(glamor_screen_private_key, PRIVATE_SCREEN, 0)) {
diff --git a/src/glamor_priv.h b/src/glamor_priv.h
index 7b8f762..65a02f4 100644
--- a/src/glamor_priv.h
+++ b/src/glamor_priv.h
@@ -243,7 +243,7 @@ struct glamor_saved_procs {
typedef struct glamor_screen_private {
struct glamor_gl_dispatch _dispatch;
- int yInverted;
+ Bool yInverted;
unsigned int tick;
enum glamor_gl_flavor gl_flavor;
int has_pack_invert;