[Scummvm-git-logs] scummvm master -> 2032dc2830a8ccf1e1b7e815133b3c3c810da3e2
lephilousophe
noreply at scummvm.org
Sun Mar 17 15:03:18 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
2032dc2830 IOS7: Fix build
Commit: 2032dc2830a8ccf1e1b7e815133b3c3c810da3e2
https://github.com/scummvm/scummvm/commit/2032dc2830a8ccf1e1b7e815133b3c3c810da3e2
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-03-17T16:03:02+01:00
Commit Message:
IOS7: Fix build
Changed paths:
backends/platform/ios7/ios7_video.mm
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 0e56821e8bd..7e23c0dafc9 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -632,8 +632,10 @@ bool iOS7_fetchEvent(InternalEvent *event) {
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
+#if TARGET_OS_IOS
UITouch *touch = [touches anyObject];
touchesBegan = [touch locationInView:self];
+#endif
for (GameController *c : _controllers) {
if ([c isKindOfClass:TouchController.class]) {
[(TouchController *)c touchesBegan:touches withEvent:event];
More information about the Scummvm-git-logs
mailing list