Mesa (master): radeong: Use TRUE and FALSE.
Corbin Simpson
csimpson at kemper.freedesktop.org
Sun Mar 21 00:19:48 UTC 2010
Module: Mesa
Branch: master
Commit: 7c8221b46008cd4f217d3ddab59dcc4c488a54b3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c8221b46008cd4f217d3ddab59dcc4c488a54b3
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Sat Mar 20 16:15:36 2010 -0700
radeong: Use TRUE and FALSE.
---
.../winsys/drm/radeon/core/radeon_drm_buffer.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c b/src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c
index 2f7456e..2472b6b 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_drm_buffer.c
@@ -287,7 +287,7 @@ boolean radeon_drm_bufmgr_get_handle(struct pb_buffer *_buf,
retval = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink);
if (retval) {
- return false;
+ return FALSE;
}
buf->flinked = TRUE;
@@ -329,7 +329,7 @@ boolean radeon_drm_bufmgr_add_buffer(struct pb_buffer *_buf,
struct radeon_drm_buffer *buf = get_drm_buffer(_buf);
radeon_cs_space_add_persistent_bo(buf->mgr->rws->cs, buf->bo,
rd, wd);
- return true;
+ return TRUE;
}
void radeon_drm_bufmgr_write_reloc(struct pb_buffer *_buf,
More information about the mesa-commit
mailing list