mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ZVISION: Cleanup all AlphaEntries after use
This commit is contained in:
@@ -57,6 +57,10 @@ RenderManager::~RenderManager() {
|
||||
_workingWindowBuffer.free();
|
||||
_currentBackground.free();
|
||||
_backBuffer.free();
|
||||
|
||||
for (Common::HashMap<uint32, AlphaDataEntry>::iterator iter = _alphaDataEntries.begin(); iter != _alphaDataEntries.end(); iter++) {
|
||||
delete (*iter)._value.data;
|
||||
}
|
||||
}
|
||||
|
||||
void RenderManager::update(uint deltaTimeInMillis) {
|
||||
|
||||
Reference in New Issue
Block a user