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:
parent
1472c71bfe
commit
89c1987693
1 changed files with 4 additions and 0 deletions
|
@ -2291,6 +2291,10 @@ void Core::shutdown()
|
|||
debugLog("OK");
|
||||
}
|
||||
|
||||
debugLog("Dark layer...");
|
||||
darkLayer.unloadDevice();
|
||||
debugLog("OK");
|
||||
|
||||
debugLog("Core's framebuffer...");
|
||||
frameBuffer.unloadDevice();
|
||||
debugLog("OK");
|
||||
|
|
Loading…
Add table
Reference in a new issue