From: Brian Paul Date: Wed, 14 May 2008 22:23:46 +0000 (-0600) Subject: fix assertion typo: s/=/==/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=885cc592dfcc3b46e1896d243f60c38cf18fa54b;p=mesa.git fix assertion typo: s/=/==/ --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 88baf54d13f..8e4c10ff432 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -1090,7 +1090,7 @@ slang_inline_function_call(slang_assemble_ctx * A, slang_function *fun, slang_operation_copy(inlined, fun->body); /*** XXX review this */ - assert(inlined->type = SLANG_OPER_BLOCK_NO_NEW_SCOPE); + assert(inlined->type == SLANG_OPER_BLOCK_NO_NEW_SCOPE); inlined->type = SLANG_OPER_BLOCK_NEW_SCOPE; #if 0