diff options
author | Dave Parks <davep@lindenlab.com> | 2013-05-07 17:20:33 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2013-05-07 17:20:33 -0500 |
commit | dbfcd6c9c5709b74365c2538ba312685b09d22bf (patch) | |
tree | 378a109c6094afea0bb32a8a7334b226ab2fc60b /indra/newview/llspatialpartition.h | |
parent | 2a8ec731c93bb3c119cea166057a027aa37e383b (diff) |
Optimization -- don't draw glow in alpha pool unless needed
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r-- | indra/newview/llspatialpartition.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h index 08e77855c4..e9be93ce98 100644 --- a/indra/newview/llspatialpartition.h +++ b/indra/newview/llspatialpartition.h @@ -70,12 +70,12 @@ protected: public: void* operator new(size_t size) { - return ll_aligned_malloc_16(size); + return ll_aligned_malloc(size,64); } void operator delete(void* ptr) { - ll_aligned_free_16(ptr); + ll_aligned_free(ptr); } @@ -121,6 +121,7 @@ public: U32 mDrawMode; U32 mBlendFuncSrc; U32 mBlendFuncDst; + BOOL mHasGlow; struct CompareTexture { |