mirror of
https://github.com/glfw/glfw.git
synced 2024-11-15 02:34:36 +00:00
Fixed issue with bad merge
This commit is contained in:
parent
39dec1415b
commit
a06c00215a
13
src/input.c
13
src/input.c
@ -728,19 +728,6 @@ GLFWAPI void glfwSetInputMode(GLFWwindow *handle, int mode, int value)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
case GLFW_RAW_MOUSE_MOTION:
|
|
||||||
{
|
|
||||||
if (!_glfw.platform.rawMouseMotionSupported())
|
|
||||||
{
|
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
|
||||||
"Raw mouse motion is not supported on this system");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
value = value ? GLFW_TRUE : GLFW_FALSE;
|
|
||||||
if (window->rawMouseMotion == value)
|
|
||||||
return;
|
|
||||||
|
|
||||||
case GLFW_RAW_MOUSE_MOTION:
|
case GLFW_RAW_MOUSE_MOTION:
|
||||||
{
|
{
|
||||||
if (!_glfw.platform.rawMouseMotionSupported())
|
if (!_glfw.platform.rawMouseMotionSupported())
|
||||||
|
619
src/x11_window.c
619
src/x11_window.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user