Sorry if it's rude to do this... um... but this forum seems more active than the one over at puppygames.com, so I'm posting my problem here, too. (I apologize and accept whatever punitive actiopn for the duplicate posting, and will delete whichever doesn't get a response if necessary.)I have an example which runs fine in an 800x600 window which is made and shown using the following code:
1 2 3 4 5 6
| DisplayMode temp = new DisplayMode(800, 600);
Display.setDisplayMode(temp); Display.setTitle("Test LWJGL App"); Display.setFullscreen(true); Display.create(); |
This works fine. I don't know if it's GOOD or not, but it works pretty darn well.
What I CANNOT figure out for the life of me is HOW do I specify a fullscreen resolution for a game?!? I want to specify the resolution, and the depth. MAYBE the refresh rate, but basically I want the one resolution, and if it can't hack it, I want an error. (I realize that I should accept the CLOSEST I can get, but that can wait for me just yet.)
So, um... I KNOW I'm missing something here because everyone else seems to get fullscreen really well. Please help me out?
--Lareon
FWIW, I saw something that looks promising in [org.lwjgl.util.Display], but I imported that, and got all sorts of fun errors about the conflicing "Display"s (one from util, the other from opengl). PLEASE help me?