1718192021222324252627
while (!Display.isCloseRequested()) { GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT); Scene scene = SceneManager.getScene(); scene.update(); scene.draw(); } DisplayManager.destroy(); }