From 9f30700188a8c3f3001bd28fa052dcc20c74babb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 5 Mar 2026 13:17:36 +0100 Subject: [PATCH] Fix multitouch in OpenGL mode on iOS. Oops. Fixes #21349 --- ios/ViewController.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/ViewController.mm b/ios/ViewController.mm index c1d7a91282..ec3b1698cc 100644 --- a/ios/ViewController.mm +++ b/ios/ViewController.mm @@ -193,6 +193,7 @@ void GLRenderLoop(IOSGLESContext *graphicsContext) { self.glView.drawableDepthFormat = GLKViewDrawableDepthFormat24; self.glView.drawableStencilFormat = GLKViewDrawableStencilFormat8; self.glView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; + self.glView.multipleTouchEnabled = YES; [self.view addSubview:self.glView]; // self.view.insetsLayoutMarginsFromSafeArea = NO;