This commit is contained in:
rti 2011-05-31 18:12:25 +02:00
commit c913b2700e
2 changed files with 8 additions and 4 deletions

View file

@ -1440,6 +1440,14 @@ bool CDriverGL::setupARBVertexProgram (const CVPParser::TProgram &inParsedProgra
nlassert(0);
return false;
}
#ifdef NL_OS_MAC
// Wait for GPU to finish program upload, else draw comands might crash.
// Happened to CVegetableBlendLayerModel (glDrawElements()).
// For more information, see http://dev.ryzom.com/issues/1006
glFinish();
#endif
return true;
}

View file

@ -700,9 +700,6 @@ void updateFromClientCfg()
//---------------------------------------------------
if (Landscape)
{
#ifdef NL_OS_MAC
Landscape->enableVegetable(false);
#else
if (ClientCfg.MicroVeget != LastClientCfg.MicroVeget)
{
if(ClientCfg.MicroVeget)
@ -722,7 +719,6 @@ void updateFromClientCfg()
Landscape->enableVegetable(false);
}
}
#endif
}
//---------------------------------------------------