Use an enum for updateimestate as well

This commit is contained in:
Kovid Goyal
2021-03-23 10:52:11 +05:30
parent 84dcf8fd27
commit a981b46ec9
9 changed files with 29 additions and 15 deletions

2
glfw/input.c vendored
View File

@@ -1010,7 +1010,7 @@ GLFWAPI GLFWkeyboardfun glfwSetKeyboardCallback(GLFWwindow* handle, GLFWkeyboard
return cbfun;
}
GLFWAPI void glfwUpdateIMEState(GLFWwindow* handle, int which, int a, int b, int c, int d) {
GLFWAPI void glfwUpdateIMEState(GLFWwindow* handle, GLFWIMEUpdateState which, int a, int b, int c, int d) {
_GLFWwindow* window = (_GLFWwindow*) handle;
assert(window != NULL);