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 <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-06-06 10:41:35 +01:00
parent 1dafb4777f
commit f2513cb0fd
1 changed files with 4 additions and 4 deletions

View File

@ -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;
}