Module: Mesa Branch: master Commit: 6ae9975ea08b64d7f4e7a2c6c535c14280bef843 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ae9975ea08b64d7f4e7a2c6c535c14280bef843
Author: José Fonseca <[email protected]> Date: Thu Apr 22 15:11:57 2010 +0100 llvmpipe: Fix typo in assert. --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index 59d5a44..551c375 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -1112,8 +1112,8 @@ make_variant_key(struct llvmpipe_context *lp, unsigned chan; format_desc = util_format_description(lp->framebuffer.cbufs[i]->format); - assert(format_desc->layout == UTIL_FORMAT_COLORSPACE_RGB || - format_desc->layout == UTIL_FORMAT_COLORSPACE_SRGB); + assert(format_desc->colorspace == UTIL_FORMAT_COLORSPACE_RGB || + format_desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB); key->blend.rt[i].colormask = lp->blend->rt[i].colormask; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
