OPENGL: Don't leak surfaces.
This commit is contained in:
parent
b470c9af28
commit
29e05ec05e
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ OpenGLGraphicsManager::~OpenGLGraphicsManager() {
|
||||||
free(_gamePalette);
|
free(_gamePalette);
|
||||||
free(_cursorPalette);
|
free(_cursorPalette);
|
||||||
|
|
||||||
|
_screenData.free();
|
||||||
|
_overlayData.free();
|
||||||
|
_cursorData.free();
|
||||||
|
_osdSurface.free();
|
||||||
|
|
||||||
delete _gameTexture;
|
delete _gameTexture;
|
||||||
delete _overlayTexture;
|
delete _overlayTexture;
|
||||||
delete _cursorTexture;
|
delete _cursorTexture;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue