LLRender's vertexbuffer created via init now, instead of ctor. Allows deallocation/reallocation.

This commit is contained in:
Shyotl
2011-10-08 02:58:23 -05:00
parent 418d80197e
commit 5e829b7a3a
3 changed files with 15 additions and 7 deletions

View File

@@ -1689,6 +1689,7 @@ LLViewerWindow::LLViewerWindow(
}
LLVertexBuffer::initClass(gSavedSettings.getBOOL("RenderVBOEnable"), gSavedSettings.getBOOL("RenderVBOMappingDisable"));
LL_INFOS("RenderInit") << "LLVertexBuffer initialization done." << LL_ENDL ;
gGL.init() ;
if (LLFeatureManager::getInstance()->isSafe()
|| (gSavedSettings.getS32("LastFeatureVersion") != LLFeatureManager::getInstance()->getVersion())