summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2018-04-02 14:49:01 +0200
committerraysan5 <[email protected]>2018-04-02 14:49:01 +0200
commitbbdf9f48806acba5cac2480c0f60f1840d322ece (patch)
tree56088efbddbc4af618368211d4acde76dc1fdbcc /src/raylib.h
parente72b96ada12e899bad3ca50fdf9c2e079aa4c3a9 (diff)
downloadraylib-bbdf9f48806acba5cac2480c0f60f1840d322ece.tar.gz
raylib-bbdf9f48806acba5cac2480c0f60f1840d322ece.zip
Review InitWindow() to avoid void pointer
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index f40124e9..acca46bd 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -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