Procházet zdrojové kódy

Fix some omissions (#3418)

Changes the return type of `InitGraphicsDevice()` from `bool` to `int`.
Adds a return at the end of `InitPlatform()`.
pull/3422/head
Le Juez Victor před 1 rokem
odevzdal GitHub
rodič
revize
6d7112fde7
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +3
    -1
      src/rcore_android.c

+ 3
- 1
src/rcore_android.c Zobrazit soubor

@ -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;

||||||
x
 
000:0
Načítá se…
Zrušit
Uložit