Oops, we have to clean up after ourselves.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1563 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2008-12-14 21:51:11 +00:00
parent c509186c0a
commit f997bfb7f2
1 changed files with 3 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: FrameBufferGL.cxx,v 1.115 2008-12-14 21:44:06 stephena Exp $
// $Id: FrameBufferGL.cxx,v 1.116 2008-12-14 21:51:11 stephena Exp $
//============================================================================
#ifdef DISPLAY_OPENGL
@ -92,6 +92,8 @@ FrameBufferGL::FrameBufferGL(OSystem* osystem)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FrameBufferGL::~FrameBufferGL()
{
// We're taking responsibility for this surface
delete myTiaSurface;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -