Browse Source

slang: Fix return value check.

tags/mesa_7_7_rc1
Michal Krol 16 years ago
parent
commit
28039ffdc8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/shader/slang/slang_emit.c

+ 1
- 1
src/mesa/shader/slang/slang_emit.c View File

@@ -802,7 +802,7 @@ emit_arith(slang_emit_info *emitInfo, slang_ir_node *n)
emit(emitInfo, n->Children[0]->Children[0]); /* A */
emit(emitInfo, n->Children[0]->Children[1]); /* B */
emit(emitInfo, n->Children[1]); /* C */
if (alloc_node_storage(emitInfo, n, -1)) { /* dest */
if (!alloc_node_storage(emitInfo, n, -1)) { /* dest */
return NULL;
}


Loading…
Cancel
Save