Update rcore_android.c

This commit is contained in:
MatejMagat305 2024-03-28 22:04:42 +01:00 committed by GitHub
parent 3ee752c2e5
commit c479f25e2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,16 +128,11 @@ void android_main(struct android_app *app)
} }
// NOTE: Add this to header (if apps really need it) // NOTE: Add this to header (if apps really need it)
struct android_app *GetAndroidApp(void) extern struct android_app *GetAndroidApp(void)
{ {
return platform.app; return platform.app;
} }
extern struct ANativeActivity *GetANativeActivity(void)
{
return platform.app->activity;
}
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
// Module Functions Definition: Window and Graphics Device // Module Functions Definition: Window and Graphics Device
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------