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