diff --git a/src/osg/Shader.cpp b/src/osg/Shader.cpp index 167d016b1..1b11789fc 100644 --- a/src/osg/Shader.cpp +++ b/src/osg/Shader.cpp @@ -633,7 +633,7 @@ void Shader::PerContextShader::compileShader(osg::State& state) GLint compiled = GL_FALSE; - // OSG_NOTICE<<"Compiling PerContextShader "<(versionLine.c_str()); sourceText[1] = reinterpret_cast(_defineStr.c_str()); sourceText[2] = reinterpret_cast(source.c_str()); _extensions->glShaderSource( _glShaderHandle, 3, sourceText, NULL ); + + + // OSG_NOTICE<<" Version Line : ["<(_defineStr.c_str()); sourceText[1] = reinterpret_cast(source.c_str()); _extensions->glShaderSource( _glShaderHandle, 2, sourceText, NULL ); + + // OSG_NOTICE<<" DefineStr : ["<glCompileShader( _glShaderHandle );