public void render() {
		if(Display.wasResized()) {
			WIDTH = Display.getWidth();
			HEIGHT = Display.getHeight();
			if(currentScreen != null) {
				currentScreen.setSize(WIDTH, HEIGHT);
			}
		}
		GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
		
		if(currentScreen != null) {
			currentScreen.render();
		}
	}