Split Linux platform target and move runtime/platform state

This commit is contained in:
2026-06-17 01:20:11 +02:00
parent 90a55b86fe
commit 3ce365fc15
16 changed files with 169 additions and 94 deletions

View File

@@ -10,6 +10,7 @@
#import "GameViewController.h"
#import <OpenGLES/ES3/glext.h>
#include "app.h"
#include "platform_legacy/legacy_platform_state.h"
#include "settings.h"
#import "objc_utils.h"
#import <MobileCoreServices/MobileCoreServices.h>
@@ -569,8 +570,9 @@ bool is_tap = true;
[super viewDidLoad];
input_enabled = NO;
App::I = new App;
App::I->ios_view = self;
App::I->ios_app = (AppDelegate*)[[UIApplication sharedApplication] delegate];
pp::platform::legacy::set_legacy_apple_state(
self,
(AppDelegate*)[[UIApplication sharedApplication] delegate]);
App::I->initLog();
//self.preferredFramesPerSecond = 60;