Review InitWindow() to avoid void pointer

Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
This commit is contained in:
raysan5
2018-04-02 14:49:01 +02:00
parent e72b96ada1
commit bbdf9f4880
2 changed files with 101 additions and 111 deletions

View File

@@ -699,7 +699,7 @@ extern "C" { // Prevents name mangling of functions
//------------------------------------------------------------------------------------
// Window-related functions
RLAPI void InitWindow(int width, int height, void *data); // Initialize window and OpenGL context
RLAPI void InitWindow(int width, int height, const char *title); // Initialize window and OpenGL context
RLAPI void CloseWindow(void); // Close window and unload OpenGL context
RLAPI bool IsWindowReady(void); // Check if window has been initialized successfully
RLAPI bool WindowShouldClose(void); // Check if KEY_ESCAPE pressed or Close icon pressed