Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

can't switch from fullscreen to windowed mode #33

Closed
LastExceed opened this issue Dec 26, 2020 · 3 comments
Closed

can't switch from fullscreen to windowed mode #33

LastExceed opened this issue Dec 26, 2020 · 3 comments

Comments

@LastExceed
Copy link

LastExceed commented Dec 26, 2020

to switch to windowed mode the monitor ptr must be set to null, however the monitor param of kgl's window.setMonitor() function is non-nullable, making this operation impossible

@Dominaezzz
Copy link
Owner

Ah rip, that's a bug.

If you're not using mpp you can call glfwSetWindowMonitor directly as a workaround.

Feel free to send a PR in the meantime. Dunno when I'll get to this myself.

@nlbuescher
Copy link
Collaborator

Created a fix. CI failed because of apt though. Gonna try again tomorrow.

@nlbuescher
Copy link
Collaborator

fixed with #34. Will be in next release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants