Hi Guys,
The title says it all. We use osgCal and it does not compile anymore. Compiler
does not find Program::PerContextProgram::getUniformLocation( const std::string
& ) while compiling HardwareMesh.cpp. Problem appeared with trunk change
revision 11942:
Where
Program::PerContextProgram::getUniformLocation( const std::string & )
was replaced with:
Program:: PerContextProgram::getUniformLocation( unsigned int )
I tried to look at modified PerContextProgram to figure out how to get uniform
location knowing only uniform name but I was not able to come up with
reasonable idea. Can anyone help me ?
Ideally we could possible retrofit PerProgramContext with a method that would
accept string name ? It does not mean reverting all the code that was changed
recently I would only want to have another version of
PerContextProgram::getUniformLocation( int ) with string parameter so that
osgCall still compile.
Cheers,
Wojtek Lewandowski_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org