Module: Mesa
Branch: master
Commit: 52df532b02594e624bddd58ee60fd25075f8ec42
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=52df532b02594e624bddd58ee60fd25075f8ec42

Author: José Fonseca <[email protected]>
Date:   Tue Nov 10 16:55:44 2009 -0800

llvmpipe: Fix typo in comparison operator.

---

 src/gallium/drivers/llvmpipe/lp_bld_depth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_bld_depth.c 
b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
index 98ec1cb..d438c0e 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_depth.c
+++ b/src/gallium/drivers/llvmpipe/lp_bld_depth.c
@@ -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) {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to