Own Apple platform services and thin Win32 lifecycle shell
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
#import "GameViewController.h"
|
||||
#import <OpenGLES/ES3/glext.h>
|
||||
#include "app.h"
|
||||
#include "platform_legacy/legacy_platform_services.h"
|
||||
#include "platform_apple/apple_platform_services.h"
|
||||
#include "settings.h"
|
||||
#import "objc_utils.h"
|
||||
@@ -582,11 +581,7 @@ bool is_tap = true;
|
||||
pp::platform::apple::set_legacy_apple_state(
|
||||
self,
|
||||
(AppDelegate*)[[UIApplication sharedApplication] delegate]);
|
||||
g_platform_services = pp::platform::legacy::create_platform_services({
|
||||
.apple_document_services = []() -> pp::platform::apple::AppleDocumentPlatformServices& {
|
||||
return pp::platform::apple::active_legacy_apple_document_platform_services();
|
||||
},
|
||||
});
|
||||
g_platform_services = pp::platform::apple::create_apple_platform_services();
|
||||
App::I->set_platform_services(g_platform_services.get());
|
||||
App::I->initLog();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user