mach: Implement fullscreen window support for native platforms (glfw)

This feature remembers the last position of window before turning to
fullscreen.
This commit is contained in:
iddev5 2022-06-10 23:36:06 +05:30 committed by Stephen Gutekanst
parent d3feaed383
commit 3dc131d4fa
2 changed files with 15 additions and 0 deletions

View file

@ -31,6 +31,9 @@ pub const Options = struct {
/// The maximum allowed size for the window.
size_max: SizeOptional = .{ .width = null, .height = null },
/// Fullscreen window.
fullscreen: bool = false,
/// Monitor synchronization modes.
vsync: enums.VSyncMode = .double,