aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llspatialpartition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llspatialpartition.cpp')
-rw-r--r--linden/indra/newview/llspatialpartition.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llspatialpartition.cpp b/linden/indra/newview/llspatialpartition.cpp
index d62a93e..dbda813 100644
--- a/linden/indra/newview/llspatialpartition.cpp
+++ b/linden/indra/newview/llspatialpartition.cpp
@@ -1717,7 +1717,7 @@ void LLSpatialPartition::processImagery(LLCamera* camera)
1717 cube_map->initGL(); 1717 cube_map->initGL();
1718 } 1718 }
1719 1719
1720 if (gPipeline.mCubeBuffer == NULL) 1720 if (gPipeline.mCubeBuffer.isNull())
1721 { 1721 {
1722 gPipeline.mCubeBuffer = new LLCubeMap(); 1722 gPipeline.mCubeBuffer = new LLCubeMap();
1723 gPipeline.mCubeBuffer->initGL(); 1723 gPipeline.mCubeBuffer->initGL();