Split Linux platform target and move runtime/platform state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user