Hello Guest

Window size limits stopped working in 3.1.0

  • 3 Replies
  • 1188 Views
Window size limits stopped working in 3.1.0
« on: November 05, 2016, 02:00:55 »
I'm using LWJGL through the LibGDX framework, which just merged in 3.1.0 today. This update causes GLFW.glfwSetWindowSizeLimits() to do nothing to limit the window size on Windows 10 for me. It works fine if I roll back to the LibGDX version with LWJGL 3.0.

Can anyone else confirm this issue in base LWJGL? I'm trying to trace the bug back to its source. It's probably something recently changed in GLFW, but I want to be sure before I try to dive into that, as I'm not well-experienced with C code. I don't want to open a GLFW bug without being sure it didn't occur downstream from GLFW.

Thanks.

Re: Window size limits stopped working in 3.1.0
« Reply #1 on: November 05, 2016, 12:08:26 »
Im running LWJGL 3.1.0, and the function works for me (Running linux, gnome). Interestingly, when snapping the window to the top of the screen it does not work.

*

Offline spasi

  • *****
  • 1988
    • WebHotelier
Re: Window size limits stopped working in 3.1.0
« Reply #2 on: November 05, 2016, 12:21:06 »
Seems to be working fine for me (on Windows 10).

Re: Window size limits stopped working in 3.1.0
« Reply #3 on: November 06, 2016, 02:59:52 »
Thanks for checking! Helpful to know it's either a downstream issue in LibGDX, my own code, or something peculiar about my installation.