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

Fixed touches for the !IPHONE_TOUCH_EFFICIENT_DANGEROUS case

parent 63251bb5
......@@ -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;
}
}
......
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