So I am trying to add full-screen to my app and when I change to full screen like this.
try
{
Display.setDisplayMode(Display.getDesktopDisplayMode());
Display.setFullscreen(true);
} catch (LWJGLException e)
{
e.printStackTrace();
}
GL11.glViewport(0,0,Display.getWidth(),Display.getHeight());
GL11.glMatrixMode(GL11.GL_PROJECTION);
GL11.glLoadIdentity();
GL11.glOrtho(0,Display.getWidth(),Display.getHeight(),0,-1,1);
It goes to fullscreen and all but nothing shows up. I know it is still updating everything because of some System.out.print testing and the location of everything is the same. The mouse cords are right as well but nothing gets drawn.
Any ideas? :-\