glfw: set input mode supported on all platforms in test
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d23cd8e400
commit
d2d1f0b222
1 changed files with 1 additions and 1 deletions
|
|
@ -2589,7 +2589,7 @@ test "setInputMode" {
|
||||||
defer window.destroy();
|
defer window.destroy();
|
||||||
|
|
||||||
// Boolean values.
|
// 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.
|
// Integer values.
|
||||||
window.setInputMode(glfw.cursor, glfw.cursor_hidden) catch |err| std.debug.print("failed to set input mode, not supported? error={}\n", .{err});
|
window.setInputMode(glfw.cursor, glfw.cursor_hidden) catch |err| std.debug.print("failed to set input mode, not supported? error={}\n", .{err});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue