Let mac users choose their VBO fate

This commit is contained in:
Siana Gearz
2011-02-06 00:35:18 +01:00
parent e3932629c8
commit 5717f779fa
3 changed files with 2 additions and 22 deletions

View File

@@ -767,19 +767,10 @@ void LLVertexBuffer::resizeBuffer(S32 newnverts, S32 newnindices)
BOOL LLVertexBuffer::useVBOs() const
{
//it's generally ineffective to use VBO for things that are streaming on apple
#if LL_DARWIN
if (!mUsage || mUsage == GL_STREAM_DRAW_ARB)
{
return FALSE;
}
#else
if (!mUsage)
{
return FALSE;
}
#endif
return TRUE;
}