// Set fullscreen mode in libgdx. DisplayMode display = Lwjgl3ApplicationConfiguration.getDisplayMode(); config.setFullscreenMode(display);