private void fps() {
		if(lastFPS < 0)
			lastFPS = (Sys.getTime()*1000)/Sys.getTimerResolution();
		if((Sys.getTime()*1000)/Sys.getTimerResolution() - lastFPS > 1000){
			Display.setTitle(title+" - FPS: "+fps);
			fps = 0;
			lastFPS+=1000;
		}
		fps++;
	}