OSDN Git Service

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 6a6c654..1d03298 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],