Merge branch 'future' of git://github.com/Shyotl/SingularityViewer
Conflicts: indra/newview/llvovolume.cpp
This commit is contained in:
@@ -1565,6 +1565,7 @@ LLViewerWindow::LLViewerWindow(
|
||||
LLVertexBuffer::initClass(gSavedSettings.getBOOL("RenderVBOEnable"), gSavedSettings.getBOOL("RenderVBOMappingDisable"));
|
||||
LL_INFOS("RenderInit") << "LLVertexBuffer initialization done." << LL_ENDL ;
|
||||
gGL.init() ;
|
||||
LLImageGL::initClass(LLViewerTexture::MAX_GL_IMAGE_CATEGORY) ;
|
||||
|
||||
if (LLFeatureManager::getInstance()->isSafe()
|
||||
|| (gSavedSettings.getS32("LastFeatureVersion") != LLFeatureManager::getInstance()->getVersion())
|
||||
@@ -1589,7 +1590,6 @@ LLViewerWindow::LLViewerWindow(
|
||||
|
||||
// Init the image list. Must happen after GL is initialized and before the images that
|
||||
// LLViewerWindow needs are requested.
|
||||
LLImageGL::initClass(LLViewerTexture::MAX_GL_IMAGE_CATEGORY) ;
|
||||
gTextureList.init();
|
||||
LLViewerTextureManager::init() ;
|
||||
gBumpImageList.init();
|
||||
@@ -4842,7 +4842,7 @@ void LLViewerWindow::stopGL(BOOL save_state)
|
||||
|
||||
if(LLPostProcess::instanceExists())
|
||||
{
|
||||
LLPostProcess::getInstance()->invalidate();
|
||||
LLPostProcess::getInstance()->destroyGL();
|
||||
}
|
||||
|
||||
gTextureList.destroyGL(save_state);
|
||||
|
||||
Reference in New Issue
Block a user