OPENGL: cleanup
svn-id: r54520
This commit is contained in:
parent
f1cdb318c6
commit
a5ffdcf6cf
1 changed files with 3 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue