diff options
| author | Ray <raysan5@gmail.com> | 2019-01-14 13:49:56 +0100 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2019-01-14 13:49:56 +0100 |
| commit | 42bfa7e3ffeef24fd781f0eb431c089e0da0d0de (patch) | |
| tree | e9d0373b5c4a172a736cb8b8f0c0923e4d3ff55e /src | |
| parent | e811279a7596b6281b58a6d5bb4f1924a4b7fab5 (diff) | |
| download | raylib-42bfa7e3ffeef24fd781f0eb431c089e0da0d0de.tar.gz raylib-42bfa7e3ffeef24fd781f0eb431c089e0da0d0de.zip | |
Make sure no parameters can be passed
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -982,7 +982,7 @@ const char *GetMonitorName(int monitor) } // Show mouse cursor -void ShowCursor() +void ShowCursor(void) { #if defined(PLATFORM_DESKTOP) glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); @@ -991,7 +991,7 @@ void ShowCursor() } // Hides mouse cursor -void HideCursor() +void HideCursor(void) { #if defined(PLATFORM_DESKTOP) glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN); @@ -1000,13 +1000,13 @@ void HideCursor() } // Check if cursor is not visible -bool IsCursorHidden() +bool IsCursorHidden(void) { return cursorHidden; } // Enables cursor (unlock cursor) -void EnableCursor() +void EnableCursor(void) { #if defined(PLATFORM_DESKTOP) glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); @@ -1018,7 +1018,7 @@ void EnableCursor() } // Disables cursor (lock cursor) -void DisableCursor() +void DisableCursor(void) { #if defined(PLATFORM_DESKTOP) glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); |
