GLFW version: latest from github
Using Cocos2d-X on Windows 10
tldr: What is a proper way to create a Windowed Fullscreen (Borderless Fullscreen) window?
So far, I have no problem creating both Fullscreen and Windowed mode windows. It was easy enough and straight forward.
But for Windowed Fullscreen, I’m little confused.
I read the Window guide for more information but wasn’t sure what ‘To create such a window, simply request the current video mode’ what exactly means. No matter what I did with video mode, I ended up creating either Fullscreen on full sized Windowed window with window border.
Also I saw the ‘iconify’ and ‘window’ test codes, but wasn’t able to find any test for Windowed Fullscreen.
So after messing around with code, I ended up creating window as Windowed (monitor == nullptr) then disabled GLFW_DECORATED to make borderless.
The result was fine, worked as I expected, but want to make sure if this is a right way to make one or want to know if I’m missing something.