소스 검색

Make sure no parameters can be passed

pull/725/head
Ray 6 년 전
부모
커밋
42bfa7e3ff
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +5
    -5
      src/core.c

+ 5
- 5
src/core.c 파일 보기

@ -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);

불러오는 중...
취소
저장