When I close my application (using either default ESC key or by clicking X in right-top corner) I get the:
AL lib: (EE) alc_cleanup: 1 device not closed
ERROR.
This started the moment I got rid of default splash-screen with configuration using that code (I recreated this error multiple times just by switching this part of code on and off):
public static void main(String[] args) {
Main app = new Main();
// GRAPHICS SETTINGS
AppSettings gameSettings = new AppSettings(true);
gameSettings.setResolution(1024, 768);
gameSettings.setFullscreen(false);
gameSettings.setBitsPerPixel(32);
gameSettings.setVSync(false);
gameSettings.setSamples(0);
gameSettings.setFrameRate(-1);
// SPLASH SCREEN OFF
app.setShowSettings(false);
app.setSettings(gameSettings);
app.start();
}
DISCLAIMER: I don’t have a single audio-related thing in my whole code so far.
Also this error just hangs there after closing application, without really doing anything bad. Still it’s an error and I’d like to know what causes it…