mesa: glsl: enable bzero() in slang_typeinfo_construct()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 12 Aug 2008 17:47:46 +0000 (11:47 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 12 Aug 2008 17:47:46 +0000 (11:47 -0600)
src/mesa/shader/slang/slang_typeinfo.c

index b3255512ba09d70d295741431d9d259db56012df..b2f0f149956c7deb1059b447557a9b57da5ceb57 100644 (file)
@@ -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;