Alignment fixes.

This commit is contained in:
Shyotl
2014-11-26 22:53:32 -06:00
parent f5204cc8f5
commit 36a8a20434
9 changed files with 90 additions and 0 deletions

View File

@@ -58,6 +58,16 @@ public:
// Destructor
virtual ~LLEditingMotion();
void* operator new(size_t size)
{
return ll_aligned_malloc_16(size);
}
void operator delete(void* ptr)
{
ll_aligned_free_16(ptr);
}
public:
//-------------------------------------------------------------------------
// functions to support MotionController and MotionRegistry