diff --git a/src/osg/Shader.cpp b/src/osg/Shader.cpp index 73718929b..a35b58e2a 100644 --- a/src/osg/Shader.cpp +++ b/src/osg/Shader.cpp @@ -137,7 +137,8 @@ Shader::Shader(Type type, const std::string& source) : } Shader::Shader(Type type, ShaderBinary* shaderBinary) : - _type(type) + _type(type), + _shaderBinary(shaderBinary) { }