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

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