summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2009-09-23 11:53:50 -0700
committerJakob Bornecrantz <[email protected]>2009-09-27 13:19:48 -0700
commit60d72d9e45b08c14ea4195950302f93e52e03603 (patch)
treef2e9606bfe0699200700992e844cf29f141e8a87
parentc3663bdc35d393194da9fb3b4d5120ea70eb1bbe (diff)
i915g: Use boolean
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index 6a6c6542717..1d0329817d9 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -165,7 +165,7 @@ i915_scanout_layout(struct i915_texture *tex)
struct pipe_texture *pt = &tex->base;
if (pt->last_level > 0 || pt->block.size != 4)
- return 0;
+ return FALSE;
i915_miptree_set_level_info(tex, 0, 1,
tex->base.width[0],