llvmpipe: Fix typo in comparison operator.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 11 Nov 2009 00:55:44 +0000 (16:55 -0800)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 24 Nov 2009 14:25:20 +0000 (14:25 +0000)
src/gallium/drivers/llvmpipe/lp_bld_depth.c

index 98ec1cb1b9dca428118830ae8e8f70173a4d9648..d438c0e63d7d43695775d89ed9ca137c8cf4d9db 100644 (file)
@@ -90,7 +90,7 @@ lp_depth_type(const struct util_format_description *format_desc,
 
    if(format_desc->channel[swizzle].type == UTIL_FORMAT_TYPE_FLOAT) {
       type.floating = TRUE;
-      assert(swizzle = 0);
+      assert(swizzle == 0);
       assert(format_desc->channel[swizzle].size == format_desc->block.bits);
    }
    else if(format_desc->channel[swizzle].type == UTIL_FORMAT_TYPE_UNSIGNED) {