Skip to content
Permalink
Browse files
Closed a memory leak caused when quitting video subsystem on Quartz t…
…arget.
  • Loading branch information
icculus committed Oct 13, 2005
1 parent fd2f2a8 commit 27a1382c0e2ad4776965616cbfd934fb1129bd1c

File 2 of 2 in 27a1382

@@ -487,9 +487,10 @@ static void QZ_UnsetVideoMode (_THIS) {
else {

[ qz_window close ];
[ qz_window release ];
qz_window = nil;
window_view = nil;

/* Release the OpenGL context */
if ( mode_flags & SDL_OPENGL )
QZ_TearDownOpenGL (this);

0 comments on commit 27a1382

Please sign in to comment.