OPENGL: Don't leak surfaces.

This commit is contained in:
Alyssa Milburn 2012-03-28 19:18:25 +02:00
parent b470c9af28
commit 29e05ec05e

View File

@ -70,6 +70,11 @@ OpenGLGraphicsManager::~OpenGLGraphicsManager() {
free(_gamePalette);
free(_cursorPalette);
_screenData.free();
_overlayData.free();
_cursorData.free();
_osdSurface.free();
delete _gameTexture;
delete _overlayTexture;
delete _cursorTexture;