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

@@ -49,6 +49,16 @@ public:
LLViewerJoint(const std::string &name, LLJoint *parent = NULL);
virtual ~LLViewerJoint();
void* operator new(size_t size)
{
return ll_aligned_malloc_16(size);
}
void operator delete(void* ptr)
{
ll_aligned_free_16(ptr);
}
// Render character hierarchy.
// Traverses the entire joint hierarchy, setting up
// transforms and calling the drawShape().