Fixed touches for the !IPHONE_TOUCH_EFFICIENT_DANGEROUS case

This commit is contained in:
Sam Lantinga 2011-03-09 15:09:00 -08:00
parent 63251bb510
commit 48ef3c9e2e

View file

@ -77,9 +77,7 @@
NSEnumerator *enumerator = [touches objectEnumerator];
UITouch *touch = (UITouch*)[enumerator nextObject];
//NSLog("Click");
if (touch) {
CGPoint locationInView = [touch locationInView: self];
@ -114,9 +112,6 @@
}
}
#endif
touch = (UITouch*)[enumerator nextObject];
}
@ -149,6 +144,7 @@
SDL_SendFingerDown(touchId,i,
SDL_FALSE,locationInView.x,locationInView.y,
1);
finger[i] = NULL;
break;
}
}