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

@@ -669,7 +669,7 @@ void PollInputEvents(void)
//----------------------------------------------------------------------------------
// Initialize platform: graphics, inputs and more
static int InitPlatform(void)
int InitPlatform(void)
{
glfwSetErrorCallback(ErrorCallback);
@@ -932,12 +932,13 @@ static int InitPlatform(void)
}
// Close platform
static void ClosePlatform(void)
void ClosePlatform(void)
{
glfwDestroyWindow(platform.handle);
glfwTerminate();
}
// GLFW3 Error Callback, runs on GLFW3 error
static void ErrorCallback(int error, const char *description)
{