diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-19 18:17:18 -0500 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2011-12-19 18:17:18 -0500 |
commit | 9c2e0d84f84fe7c38b1e9f7a127efc540b43f5aa (patch) | |
tree | 0daaa88c45802db177e722d1c1eaf36cd86871c5 /indra/newview/llface.h | |
parent | e62ad2bf13aa05cb19c2bd72e0d9f59117a6ec84 (diff) |
SH-2789 WIP - various fixes to force 16-byte alignment
Diffstat (limited to 'indra/newview/llface.h')
-rwxr-xr-x[-rw-r--r--] | indra/newview/llface.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h index 82e4ab61b7..feb6244f72 100644..100755 --- a/indra/newview/llface.h +++ b/indra/newview/llface.h @@ -59,6 +59,17 @@ class LLFace { public: + void* operator new(size_t size) + { + return ll_aligned_malloc_16(size); + } + + void operator delete(void* ptr) + { + ll_aligned_free_16(ptr); + } + + LLFace(const LLFace& rhs) { *this = rhs; |