fix android platform
This commit is contained in:
parent
7fd1b89d00
commit
7f0babcdd9
3 changed files with 11 additions and 4 deletions
|
@ -50,7 +50,6 @@
|
|||
#include <android/window.h> // Required for: AWINDOW_FLAG_FULLSCREEN definition and others
|
||||
//#include <android/sensor.h> // Required for: Android sensors functions (accelerometer, gyroscope, light...)
|
||||
#include <jni.h> // Required for: JNIEnv and JavaVM [Used in OpenURL()]
|
||||
|
||||
#include <EGL/egl.h> // Native platform windowing system interface
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
@ -134,6 +133,11 @@ struct android_app *GetAndroidApp(void)
|
|||
return platform.app;
|
||||
}
|
||||
|
||||
extern struct ANativeActivity *GetANativeActivity(void)
|
||||
{
|
||||
return platform.app->activity;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Module Functions Definition: Window and Graphics Device
|
||||
//----------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue