glfw: set input mode supported on all platforms in test

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-10-23 19:16:54 -07:00 committed by Stephen Gutekanst
parent d23cd8e400
commit d2d1f0b222

View file

@ -2589,7 +2589,7 @@ test "setInputMode" {
defer window.destroy();
// Boolean values.
window.setInputMode(glfw.raw_mouse_motion, true) catch |err| std.debug.print("failed to set input mode, not supported? error={}\n", .{err});
window.setInputMode(glfw.sticky_mouse_buttons, true) catch |err| std.debug.print("failed to set input mode, not supported? error={}\n", .{err});
// Integer values.
window.setInputMode(glfw.cursor, glfw.cursor_hidden) catch |err| std.debug.print("failed to set input mode, not supported? error={}\n", .{err});