summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-22 17:38:55 -0600
committerBrian Paul <[email protected]>2008-07-29 17:20:22 -0600
commitfb3422a241d7483c108f05290f966ffdbd219c3f (patch)
tree282e824d3eaf7b4f5e6ad16513294dd436588be9 /src/mesa/shader
parent7af8dddf2705cf0e2c02154615900bf49c8ee25a (diff)
mesa: fix uninitialized var
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_compile_struct.c1
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;
}