diff options
| author | Ray <[email protected]> | 2023-10-19 13:57:31 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2023-10-19 13:57:31 +0200 |
| commit | 081fffd46e56ae1e6f80b12bf8fe5728828def22 (patch) | |
| tree | f70765fa3bd442155120827e00423603eb253ee3 /src/platforms/rcore_android.c | |
| parent | b674e344a878613881d5e8d0e9f86176e4c0a56f (diff) | |
| download | raylib-081fffd46e56ae1e6f80b12bf8fe5728828def22.tar.gz raylib-081fffd46e56ae1e6f80b12bf8fe5728828def22.zip | |
REVIEWED: Issue with functions definitions
Diffstat (limited to 'src/platforms/rcore_android.c')
| -rw-r--r-- | src/platforms/rcore_android.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/platforms/rcore_android.c b/src/platforms/rcore_android.c index ddf0c7a4..1272eecc 100644 --- a/src/platforms/rcore_android.c +++ b/src/platforms/rcore_android.c @@ -516,7 +516,7 @@ void PollInputEvents(void) //---------------------------------------------------------------------------------- // Initialize platform: graphics, inputs and more -static int InitPlatform(void) +int InitPlatform(void) { CORE.Window.currentFbo.width = CORE.Window.screen.width; CORE.Window.currentFbo.height = CORE.Window.screen.height; @@ -589,7 +589,7 @@ static int InitPlatform(void) } // Close platform -static void ClosePlatform(void) +void ClosePlatform(void) { // Close surface, context and display if (platform.device != EGL_NO_DISPLAY) @@ -613,6 +613,7 @@ static void ClosePlatform(void) } } + // Initialize display device and framebuffer // NOTE: width and height represent the screen (framebuffer) desired size, not actual display size // If width or height are 0, default display size will be used for framebuffer size |
