added MultiThreadedDemo

This commit is contained in:
ejcoumans
2007-12-14 07:17:35 +00:00
parent d7354e5387
commit c5e6044e53
9 changed files with 888 additions and 15 deletions

View File

@@ -171,14 +171,9 @@ struct CollisionTask_LocalStoreMemory
#ifdef WIN32
void* createCollisionLocalStoreMemory()
{
return new CollisionTask_LocalStoreMemory;
};
#elif defined(__CELLOS_LV2__) || defined(USE_LIBSPE2)
#if defined(__CELLOS_LV2__) || defined(USE_LIBSPE2)
ATTRIBUTE_ALIGNED16(CollisionTask_LocalStoreMemory gLocalStoreMemory);
@@ -186,6 +181,12 @@ void* createCollisionLocalStoreMemory()
{
return &gLocalStoreMemory;
}
#else
void* createCollisionLocalStoreMemory()
{
return new CollisionTask_LocalStoreMemory;
};
#endif