Fix instance existance check

(transplanted from f4b79374f345ba7d4d34637f018eec5131b68f93)
meow-7.2.2
andreykproductengine 2019-11-12 16:07:36 +02:00
parent 7ed993913c
commit f822ea6d29
1 changed files with 1 additions and 1 deletions

View File

@ -1650,7 +1650,7 @@ LLPointer<LLUIImage> LLRender2D::getUIImage(const std::string& name, S32 priorit
// static
void LLRender2D::resetProvider()
{
if (LLRender2D::instanceExists)
if (LLRender2D::instanceExists())
{
LLRender2D::getInstance()->mImageProvider = NULL;
}