1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-03 18:14:01 +00:00

Fix crash on shutdown

GL symbols were already unloaded in ~DarkLayer().
Why did this never crash before?!
This commit is contained in:
fgenesis 2017-02-08 22:11:55 +01:00
parent 1472c71bfe
commit 89c1987693

View file

@ -2291,6 +2291,10 @@ void Core::shutdown()
debugLog("OK");
}
debugLog("Dark layer...");
darkLayer.unloadDevice();
debugLog("OK");
debugLog("Core's framebuffer...");
frameBuffer.unloadDevice();
debugLog("OK");