Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 1160:72c6c3e5bb85
Closed a memory leak caused when quitting video subsystem on Quartz target.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 13 Oct 2005 09:47:06 +0000 |
parents | 509295d5a023 |
children | 49d3efec6651 |
comparison
equal
deleted
inserted
replaced
1159:787b8d2c23e4 | 1160:72c6c3e5bb85 |
---|---|
485 } | 485 } |
486 /* Release window mode resources */ | 486 /* Release window mode resources */ |
487 else { | 487 else { |
488 | 488 |
489 [ qz_window close ]; | 489 [ qz_window close ]; |
490 [ qz_window release ]; | |
490 qz_window = nil; | 491 qz_window = nil; |
491 window_view = nil; | 492 window_view = nil; |
492 | 493 |
493 /* Release the OpenGL context */ | 494 /* Release the OpenGL context */ |
494 if ( mode_flags & SDL_OPENGL ) | 495 if ( mode_flags & SDL_OPENGL ) |
495 QZ_TearDownOpenGL (this); | 496 QZ_TearDownOpenGL (this); |
496 } | 497 } |
497 | 498 |