mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-05 09:26:26 +00:00
REVIEWED: Issue with functions definitions
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user