From: Brian Paul Date: Tue, 12 Aug 2008 17:47:46 +0000 (-0600) Subject: mesa: glsl: enable bzero() in slang_typeinfo_construct() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f243d659397bf625379daad220be199d933b0ec;p=mesa.git mesa: glsl: enable bzero() in slang_typeinfo_construct() --- diff --git a/src/mesa/shader/slang/slang_typeinfo.c b/src/mesa/shader/slang/slang_typeinfo.c index b3255512ba0..b2f0f149956 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;