fix assertion typo: s/=/==/
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 14 May 2008 22:23:46 +0000 (16:23 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 May 2008 21:16:06 +0000 (15:16 -0600)
src/mesa/shader/slang/slang_codegen.c

index 88baf54d13fa2925b30057c121e11f949d38e229..8e4c10ff4320c69027292f72881ea81c1732f157 100644 (file)
@@ -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