summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-12 11:47:46 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-12 11:47:46 -0600
commit8f243d659397bf625379daad220be199d933b0ec (patch)
tree695e7ad43e84b34912f99fbcba1a688f9d439a49
parentee7296d3199c0b0c0b6695f553a4d0919760fd41 (diff)
mesa: glsl: enable bzero() in slang_typeinfo_construct()
-rw-r--r--src/mesa/shader/slang/slang_typeinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c
index b3255512ba..b2f0f14995 100644
--- a/src/mesa/shader/slang/slang_typeinfo.c
+++ b/src/mesa/shader/slang/slang_typeinfo.c
@@ -273,7 +273,7 @@ slang_type_specifier_compatible(const slang_type_specifier * x,
GLboolean
slang_typeinfo_construct(slang_typeinfo * ti)
{
- /*_mesa_bzero(ti, sizeof(*ti));*/
+ _mesa_bzero(ti, sizeof(*ti));
slang_type_specifier_ctr(&ti->spec);
ti->array_len = 0;
return GL_TRUE;