From f2513cb0fdb0d1214854fd4e4dcd477ba8583862 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 6 Jun 2012 10:41:35 +0100 Subject: [PATCH] uxa/dri: Do not use undeclared stdbool features The header isn't pulled in, so stop using the undefined values of true/false. Signed-off-by: Chris Wilson --- src/intel_dri.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/intel_dri.c b/src/intel_dri.c index 4890fe49..d2b828e2 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -263,7 +263,7 @@ I830DRI2CreateBuffers(DrawablePtr drawable, unsigned int *attachments, DRI2BufferPtr buffers; I830DRI2BufferPrivatePtr privates; PixmapPtr pixmap, pDepthPixmap; - bool is_glamor_pixmap = false; + Bool is_glamor_pixmap = FALSE; int i; buffers = calloc(count, sizeof *buffers); @@ -282,7 +282,7 @@ I830DRI2CreateBuffers(DrawablePtr drawable, unsigned int *attachments, pixmap = get_front_buffer(drawable); if (pixmap && intel_get_pixmap_private(pixmap) == NULL) { - is_glamor_pixmap = true; + is_glamor_pixmap = TRUE; drawable = &pixmap->drawable; pixmap = NULL; } @@ -390,7 +390,7 @@ I830DRI2CreateBuffer(DrawablePtr drawable, unsigned int attachment, DRI2Buffer2Ptr buffer; I830DRI2BufferPrivatePtr privates; PixmapPtr pixmap; - bool is_glamor_pixmap = false; + Bool is_glamor_pixmap = FALSE; buffer = calloc(1, sizeof *buffer); if (buffer == NULL) @@ -406,7 +406,7 @@ I830DRI2CreateBuffer(DrawablePtr drawable, unsigned int attachment, pixmap = get_front_buffer(drawable); if (pixmap && intel_get_pixmap_private(pixmap) == NULL) { - is_glamor_pixmap = true; + is_glamor_pixmap = FALSE; drawable = &pixmap->drawable; pixmap = NULL; }