REVIEWED: Issue with functions definitions

This commit is contained in:
Ray
2023-10-19 13:57:31 +02:00
parent b674e344a8
commit 081fffd46e
7 changed files with 17 additions and 13 deletions

View File

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