From 6d7112fde7ee2f3372f7cdc95a9f474328973cdc Mon Sep 17 00:00:00 2001 From: Le Juez Victor <90587919+Bigfoot71@users.noreply.github.com> Date: Sat, 14 Oct 2023 22:46:46 +0200 Subject: [PATCH] Fix some omissions (#3418) Changes the return type of `InitGraphicsDevice()` from `bool` to `int`. Adds a return at the end of `InitPlatform()`. --- src/rcore_android.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rcore_android.c b/src/rcore_android.c index b7680adb..4dc0e26c 100644 --- a/src/rcore_android.c +++ b/src/rcore_android.c @@ -676,6 +676,8 @@ static int InitPlatform(void) //if (platform.app->destroyRequested != 0) CORE.Window.shouldClose = true; } } + + return 0; } // Close platform @@ -707,7 +709,7 @@ static void ClosePlatform(void) // 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 // NOTE: returns false in case graphic device could not be created -static bool InitGraphicsDevice(void) +static int InitGraphicsDevice(void) { CORE.Window.fullscreen = true; CORE.Window.flags |= FLAG_FULLSCREEN_MODE;