Fixed touches for the !IPHONE_TOUCH_EFFICIENT_DANGEROUS case
This commit is contained in:
parent
63251bb510
commit
48ef3c9e2e
1 changed files with 2 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue