glfw: Use i32 for position in Window.setMonitor
This partially reverts ``d3feaed``
This commit is contained in:
parent
62f0db6511
commit
240070b08d
1 changed files with 1 additions and 1 deletions
|
@ -1197,7 +1197,7 @@ pub inline fn getMonitor(self: Window) ?Monitor {
|
||||||
/// @thread_safety This function must only be called from the main thread.
|
/// @thread_safety This function must only be called from the main thread.
|
||||||
///
|
///
|
||||||
/// see also: window_monitor, window_full_screen, glfw.Window.getMonitor, glfw.Window.setSize
|
/// see also: window_monitor, window_full_screen, glfw.Window.getMonitor, glfw.Window.setSize
|
||||||
pub inline fn setMonitor(self: Window, monitor: ?Monitor, xpos: u32, ypos: u32, width: u32, height: u32, refresh_rate: ?u32) error{PlatformError}!void {
|
pub inline fn setMonitor(self: Window, monitor: ?Monitor, xpos: i32, ypos: i32, width: u32, height: u32, refresh_rate: ?u32) error{PlatformError}!void {
|
||||||
internal_debug.assertInitialized();
|
internal_debug.assertInitialized();
|
||||||
c.glfwSetWindowMonitor(
|
c.glfwSetWindowMonitor(
|
||||||
self.handle,
|
self.handle,
|
||||||
|
|
Loading…
Add table
Reference in a new issue