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) +{ } ////////////////////////////////////////////////////////////////////