Commit 48ef3c9e authored by Sam Lantinga's avatar Sam Lantinga

Fixed touches for the !IPHONE_TOUCH_EFFICIENT_DANGEROUS case

parent 63251bb5
...@@ -77,9 +77,7 @@ ...@@ -77,9 +77,7 @@
NSEnumerator *enumerator = [touches objectEnumerator]; NSEnumerator *enumerator = [touches objectEnumerator];
UITouch *touch = (UITouch*)[enumerator nextObject]; UITouch *touch = (UITouch*)[enumerator nextObject];
//NSLog("Click");
if (touch) { if (touch) {
CGPoint locationInView = [touch locationInView: self]; CGPoint locationInView = [touch locationInView: self];
...@@ -114,9 +112,6 @@ ...@@ -114,9 +112,6 @@
} }
} }
#endif #endif
touch = (UITouch*)[enumerator nextObject]; touch = (UITouch*)[enumerator nextObject];
} }
...@@ -149,6 +144,7 @@ ...@@ -149,6 +144,7 @@
SDL_SendFingerDown(touchId,i, SDL_SendFingerDown(touchId,i,
SDL_FALSE,locationInView.x,locationInView.y, SDL_FALSE,locationInView.x,locationInView.y,
1); 1);
finger[i] = NULL;
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment