On 9/12/10 0:11 , Robert Osfield wrote:
>> Do you think it makes sense to add following extra method to
>> PerContextProgram ?
>>
>> inline GLint getUniformLocation( const std::string & name )
>> {
>> return getUniformLocation( osg::Uniform::getNameId( name ) );
>> }
>
> For backwards compatibility purposes I have no objection to adding
> this method and the above implementation into the OSG. Feel free to
> implement, test, *document it*, and post the change to osg-submissions.
FTFY. ;-)
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org