i915g: Use boolean
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 23 Sep 2009 18:53:50 +0000 (11:53 -0700)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 27 Sep 2009 20:19:48 +0000 (13:19 -0700)
src/gallium/drivers/i915simple/i915_texture.c

index 6a6c65427177afcd27a71fc3928bd4f45acc40e4..1d0329817d9fc6b3b8873accdc3438e48d77df9f 100644 (file)
@@ -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],