REVIEWED: Issue with functions definitions
This commit is contained in:
parent
b674e344a8
commit
081fffd46e
1 changed files with 17 additions and 13 deletions
|
|
@ -1070,7 +1070,7 @@ void PollInputEvents(void)
|
|||
//----------------------------------------------------------------------------------
|
||||
|
||||
// Initialize platform: graphics, inputs and more
|
||||
static int InitPlatform(void)
|
||||
int InitPlatform(void)
|
||||
{
|
||||
// Initialize SDL internal global state
|
||||
int result = SDL_Init(SDL_INIT_EVERYTHING);
|
||||
|
|
@ -1180,7 +1180,7 @@ static int InitPlatform(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void ClosePlatform(void)
|
||||
void ClosePlatform(void)
|
||||
{
|
||||
SDL_FreeCursor(platform.cursor); // Free cursor
|
||||
SDL_GL_DeleteContext(platform.glContext); // Deinitialize OpenGL context
|
||||
|
|
@ -1188,6 +1188,7 @@ static void ClosePlatform(void)
|
|||
SDL_Quit(); // Deinitialize SDL internal global state
|
||||
}
|
||||
|
||||
|
||||
static KeyboardKey ConvertScancodeToKey(SDL_Scancode sdlScancode)
|
||||
{
|
||||
if (sdlScancode >= 0 && sdlScancode < SCANCODE_MAPPED_NUM)
|
||||
|
|
|
|||
Loading…
Reference in a new issue