mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Destroy _scaledScreenTexture on destroying hardware engine
This commit is contained in:
committed by
Michał Janiszewski
parent
6377ac7bfb
commit
36bece4cf1
@@ -68,6 +68,7 @@ public:
|
||||
~HardwareDisplayDrawingEngine() override
|
||||
{
|
||||
SDL_DestroyTexture(_screenTexture);
|
||||
SDL_DestroyTexture(_scaledScreenTexture);
|
||||
SDL_FreeFormat(_screenTextureFormat);
|
||||
SDL_DestroyRenderer(_sdlRenderer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user