From eeb8b61bc96feef7d473e7645abe2877b6778963 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Mon, 17 Dec 2007 21:46:20 +0000 Subject: [PATCH] Fixed an uninizialized data bug in make_default_impl --- panda/src/pgraph/shaderAttrib.I | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/panda/src/pgraph/shaderAttrib.I b/panda/src/pgraph/shaderAttrib.I index 6a362f573f..e0da2de5c8 100755 --- a/panda/src/pgraph/shaderAttrib.I +++ b/panda/src/pgraph/shaderAttrib.I @@ -23,7 +23,12 @@ // Description: //////////////////////////////////////////////////////////////////// INLINE ShaderAttrib:: -ShaderAttrib() { +ShaderAttrib() : + _shader(NULL), + _shader_priority(0), + _has_shader(false), + _auto_shader(false) +{ } ////////////////////////////////////////////////////////////////////