On Friday 26 January 2007 19:08, Maik Justus wrote:
> Hi all,
>
> here is a workaround for osg. It disables the chrome shader, but as long
> as this causes the fatal crashes we need to commit.
>
> Unfortunately I am not compiling osg myself; I am using Olafs
> precompiled library. Therefore I can not dig into the code :-(

I believe, looking at my traces, this function in 
OpenSceneGraph/src/osg/StateSet.cpp is where it happens.  Why/how/what I 
haven't a clue.

void StateSet::setTextureAttributeAndModes(unsigned int unit,StateAttribute 
*attribute, StateAttribute::GLModeValue value)
{
    if (attribute)
    {

        if (attribute->isTextureAttribute())
        {
            if (value&StateAttribute::INHERIT)
            {
                removeTextureAttribute(unit,attribute->getType());
            }
            else


Nick

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to