Dose anyone know how to stop the LWJGL client from being shrunk too much?
Which LWJGL release?
I’m using version 2.9.3
Found this snippet on LWJGL forums:
if(Display.wasResized() && ( Display.getWidth() < minWidth || Display.getHeight() < minHeight ) ) {
Display.setDisplayMode(aDisplayModeOfMinSize);
}
Run that logic every frame.
I did that but it closes the Display and re opens it, not sure why this happens
LWJGL2’s Display class doesn’t support setting a minimum window size limit.
LWJGL3 will have this feature once GLFW3.2 is released.