REVIEWED: Issue with functions definitions
This commit is contained in:
parent
b674e344a8
commit
081fffd46e
1 changed files with 17 additions and 13 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue