Make sure no parameters can be passed

This commit is contained in:
Ray
2019-01-14 13:49:56 +01:00
parent e811279a75
commit 42bfa7e3ff

View File

@ -982,7 +982,7 @@ const char *GetMonitorName(int monitor)
} }
// Show mouse cursor // Show mouse cursor
void ShowCursor() void ShowCursor(void)
{ {
#if defined(PLATFORM_DESKTOP) #if defined(PLATFORM_DESKTOP)
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL);
@ -991,7 +991,7 @@ void ShowCursor()
} }
// Hides mouse cursor // Hides mouse cursor
void HideCursor() void HideCursor(void)
{ {
#if defined(PLATFORM_DESKTOP) #if defined(PLATFORM_DESKTOP)
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
@ -1000,13 +1000,13 @@ void HideCursor()
} }
// Check if cursor is not visible // Check if cursor is not visible
bool IsCursorHidden() bool IsCursorHidden(void)
{ {
return cursorHidden; return cursorHidden;
} }
// Enables cursor (unlock cursor) // Enables cursor (unlock cursor)
void EnableCursor() void EnableCursor(void)
{ {
#if defined(PLATFORM_DESKTOP) #if defined(PLATFORM_DESKTOP)
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_NORMAL);
@ -1018,7 +1018,7 @@ void EnableCursor()
} }
// Disables cursor (lock cursor) // Disables cursor (lock cursor)
void DisableCursor() void DisableCursor(void)
{ {
#if defined(PLATFORM_DESKTOP) #if defined(PLATFORM_DESKTOP)
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);