Fullscreen mode desktop low resolution

I’ve tested a low res game and a higher resolution game and no matter what when going into fullscreen my screen displays the game at low resolution - doesn’t use full resolution of monitor - so ends up looking much worse than being window mode but maximized.

Windows 7

Ability to toggle fullscreen / windowed is very much needed too.

1 Like

Not sure about the expected behaviour here. @sven?

The problem is that the default GLFW size is apparently selected. Default should be set to native monitor resolution instead (probably)

void get_resolution() {
    const GLFWvidmode * mode = glfwGetVideoMode(glfwGetPrimaryMonitor());

    window_width = mode->width;
    window_height = mode->height;
}

http://www.glfw.org/docs/latest/window.html

Eventually it would be nice to be able to allow users to select the resolution they want from an options menu. I have other GLFW projects where this is possible.

2 Likes

Can you add script functions not only for resolution and windows size change but also to determine current desktop resolution (GLFW can do that)

If you can not implement dynamic resolution change, maybe some kind of startup script that can set properties in game.project before window will be created?

Solution can be something like:

  • determine current user resolution
  • create fullscreen window with that resolution

I realy need it on Windows builds.