Let mac users choose their VBO fate
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user