You're breathtaking!
This commit is contained in:
9
Source/Engine/Main/Android/android_native_app_glue.h
Normal file
9
Source/Engine/Main/Android/android_native_app_glue.h
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
|
||||
#include <../../../../../../../sources/android/native_app_glue/android_native_app_glue.h>
|
||||
|
||||
#endif
|
||||
16
Source/Engine/Main/Android/main.cpp
Normal file
16
Source/Engine/Main/Android/main.cpp
Normal file
@@ -0,0 +1,16 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
|
||||
#include "Engine/Engine/Engine.h"
|
||||
#include "Engine/Platform/Platform.h"
|
||||
#include <../../../../../../../sources/android/native_app_glue/android_native_app_glue.h>
|
||||
#include <../../../../../../../sources/android/native_app_glue/android_native_app_glue.c>
|
||||
|
||||
void android_main(android_app* app)
|
||||
{
|
||||
AndroidPlatform::PreInit(app);
|
||||
Engine::Main(TEXT(""));
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user