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