[Slick2D] Fullscreen cuts the top of the game off

In my game I’m using this to make it fullscreen:


appgc.setDisplayMode(width, height, true);

Width and height are an accepted fullscreen size for slick2d, but If I use any size that isn’t my exact screen size, It cuts off the top of my screen! Why is this? Why can’t it just stretch?

Fullscreen mode is only supported for a set range of resolutions (don’t know why), and Slick2D is picking the closest one.

But why on earth would you want it to stretch anyway?

I guess your right, So should I just keep it static with my screen size? What would happen if someone with a smaller screen played? would they be cut off?

Use the native resolution.

Ahhhhh okay. And then make all positioning in the game relative to the new screen size?

The game should not depend on the resolution. If it does, you have a serious flaw.