diff options
author | Brian Paul <[email protected]> | 2008-07-22 17:38:55 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-22 17:38:55 -0600 |
commit | 0d1ed45cbfd555330c8746b0fc046bdb41d767d0 (patch) | |
tree | 7db7b07e52d2e86aae2198600bd5554854cfd8f6 /src/mesa | |
parent | 11a5c2d4eea69122fd09f272e68afb95143873c6 (diff) |
mesa: fix uninitialized var
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_struct.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_compile_struct.c b/src/mesa/shader/slang/slang_compile_struct.c index 97a34d24fe0..96bdb1f4910 100644 --- a/src/mesa/shader/slang/slang_compile_struct.c +++ b/src/mesa/shader/slang/slang_compile_struct.c @@ -115,6 +115,7 @@ slang_struct_construct(slang_struct * stru) return 0; } _slang_struct_scope_ctr(stru->structs); + stru->constructor = NULL; return 1; } |