make parallel solver compile on MSVC 6

This commit is contained in:
ejcoumans
2007-10-12 06:59:59 +00:00
parent 0af676a2c5
commit 9e530a005c
3 changed files with 43 additions and 33 deletions

View File

@@ -1116,9 +1116,11 @@ void handleCollisionPair(SpuCollisionPairInput& collisionPairInput, CollisionTas
//cellDmaWaitTagStatusAll(DMA_MASK(2));
cellDmaWaitTagStatusAll(DMA_MASK(1) | DMA_MASK(2));
int i;
// DMA all the subshapes
for (int i = 0; i < childShapeCount0; ++i)
for ( i = 0; i < childShapeCount0; ++i)
{
btCompoundShapeChild& childShape = lsMem.gSubshapes[i];
@@ -1133,7 +1135,7 @@ void handleCollisionPair(SpuCollisionPairInput& collisionPairInput, CollisionTas
}
cellDmaWaitTagStatusAll(DMA_MASK(1));
for (int i = 0; i < childShapeCount1; ++i)
for ( i = 0; i < childShapeCount1; ++i)
{
btCompoundShapeChild& childShape = lsMem.gSubshapes[MAX_SPU_COMPOUND_SUBSHAPES+i];
@@ -1149,7 +1151,7 @@ void handleCollisionPair(SpuCollisionPairInput& collisionPairInput, CollisionTas
cellDmaWaitTagStatusAll(DMA_MASK(1));
// Start the N^2
for (int i = 0; i < childShapeCount0; ++i)
for ( i = 0; i < childShapeCount0; ++i)
{
btCompoundShapeChild& childShape0 = lsMem.gSubshapes[i];