summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-13 10:14:21 +0000
committerKeith Whitwell <[email protected]>2008-03-13 10:14:21 +0000
commit92523ad0fd11ff532f1e0642410d0a623fe53b06 (patch)
treebba3bfdf832ada8f64ee8ee47f2ca3e25dbe4eaf /src
parentddb4e5cbaced3e96117a97fe362ab890794f5ab7 (diff)
mesa: fix (harmless?) assignment in assert
Diffstat (limited to 'src')
-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 767ba3ffb43..0de2b0a57ea 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