The window content scale correction at creation overwrote the inital, more pleasant placement of the window by CW_USEDEFAULT, if the window was created with GLFW_MAXIMIZED set. This is because the translation to screen coordinates was done using the current position, not the position from the restored window rect.master
parent
a730acf8e5
commit
367d06deaf
2 changed files with 6 additions and 3 deletions
Loading…
Reference in New Issue