Browse Source

glsl: remove stray/unneeded totalSize assignment

tags/mesa_20090313
Brian Paul 17 years ago
parent
commit
0522624c83
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/mesa/shader/slang/slang_codegen.c

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

@@ -3014,7 +3014,7 @@ _slang_gen_var_decl(slang_assemble_ctx *A, slang_variable *var,
file = PROGRAM_TEMPORARY;
}

totalSize = size = _slang_sizeof_type_specifier(&var->type.specifier);
size = _slang_sizeof_type_specifier(&var->type.specifier);
if (size <= 0) {
slang_info_log_error(A->log, "invalid declaration for '%s'", varName);
return NULL;

Loading…
Cancel
Save