Skip to content

Inconsistent behavior with window_setFullscreen #482

@qristofer

Description

@qristofer

On Windows 10, compiled with gcc,
when toggling between windowed and fullscreen mode using RGFW_window_setFullscreen, the behavior appears inconsistent:

  • first toggle, fullscreen is entered matching the desktop resolution
  • second toggle, it goes back to windowed (800x600)
  • third toggle, it opens the fullscreen at 800x600, changing the monitors output resolution

If the windowed window size is an uncommon screen resolution (like 300x100) the behavior is different.

Full program (based on smooth-resize.c).
fullscreen-toggle.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions