mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
OPENGL: Don't leak surfaces.
This commit is contained in:
parent
b470c9af28
commit
29e05ec05e
@ -70,6 +70,11 @@ OpenGLGraphicsManager::~OpenGLGraphicsManager() {
|
||||
free(_gamePalette);
|
||||
free(_cursorPalette);
|
||||
|
||||
_screenData.free();
|
||||
_overlayData.free();
|
||||
_cursorData.free();
|
||||
_osdSurface.free();
|
||||
|
||||
delete _gameTexture;
|
||||
delete _overlayTexture;
|
||||
delete _cursorTexture;
|
||||
|
Loading…
Reference in New Issue
Block a user