GLFW now supports switching between windowed and fullscreen

GLFW now supports switching windows between windowed and fullscreen without having to recreate the context. Before it was possible to resize windows and change video modes of fullscreen windows without destroying and recreating the window, but switching from windowed to fullscreen and vice versa required recreating the window, usually requiring a complete restart of the game.

Yup pretty cool feature. It’s already part of the LWJGL3 nightly builds. Was probably the last feature LWJGL2’s Display had which GLFW was missing.

Indeed, that’s why I felt it made sense to make a post about it. I’d say LWJGL3 is now objectively better than LWJGL2 in every single way now and ready for real use. Maybe not the Vulkan part yet (still getting tweaks all the time =P) but OpenGL and GLFW is mature now IMO.

:persecutioncomplex:

Sloppy copy/paste bug in impressive/tricky commit :slight_smile:

Might wanna report that on their GitHub. xd

This was the main hurdle preventing me from migrating to LWJGL3 for commercial stuff.

Cas :slight_smile:

Not sure, but I reported that (in the form of commit comments) on their GitHub - I assumed you could see it?

It is visible for everyone (even not logged in)