A pass at cleaning up LLVertexBuffer a bit. Also removing extra unbinds that caused synchronization issues with mapped vbos.

This commit is contained in:
Shyotl
2011-07-21 01:48:46 -05:00
parent cc19a4c2da
commit 48ef9904c1
4 changed files with 14 additions and 24 deletions

View File

@@ -70,6 +70,7 @@ void LLDrawPoolSky::prerender()
void LLDrawPoolSky::render(S32 pass)
{
gGL.flush();
if (mDrawFace.empty())
{
return;