summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-03-13 10:14:21 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-03-13 10:14:21 +0000
commit92523ad0fd11ff532f1e0642410d0a623fe53b06 (patch)
treebba3bfdf832ada8f64ee8ee47f2ca3e25dbe4eaf
parentddb4e5cbaced3e96117a97fe362ab890794f5ab7 (diff)
mesa: fix (harmless?) assignment in assert
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 767ba3ffb4..0de2b0a57e 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -1087,7 +1087,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