Browse Source

Make sure no parameters can be passed

pull/725/head
Ray 6 years ago
parent
commit
42bfa7e3ff
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      src/core.c

+ 5
- 5
src/core.c View File

@ -982,7 +982,7 @@ const char *GetMonitorName(int monitor)
} }
// Show mouse cursor // Show mouse cursor
void ShowCursor()
void ShowCursor(kt">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(kt">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(kt">void)
{ {
return cursorHidden; return cursorHidden;
} }
// Enables cursor (unlock cursor) // Enables cursor (unlock cursor)
void EnableCursor()
void EnableCursor(kt">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(kt">void)
{ {
#if defined(PLATFORM_DESKTOP) #if defined(PLATFORM_DESKTOP)
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_DISABLED);

Loading…
Cancel
Save