OPENGL: cleanup

svn-id: r54520
This commit is contained in:
Max Horn 2010-11-28 14:57:26 +00:00
parent f1cdb318c6
commit a5ffdcf6cf

View File

@ -72,12 +72,9 @@ OpenGLGraphicsManager::~OpenGLGraphicsManager() {
free(_gamePalette);
free(_cursorPalette);
if (_gameTexture != NULL)
delete _gameTexture;
if (_overlayTexture != NULL)
delete _overlayTexture;
if (_cursorTexture != NULL)
delete _cursorTexture;
delete _gameTexture;
delete _overlayTexture;
delete _cursorTexture;
}
void OpenGLGraphicsManager::initEventObserver() {