From 7db7d624e3272dcb9cfe9b67fbf3daddb12faeee Mon Sep 17 00:00:00 2001 From: Sam Lantinga <slouken@libsdl.org> Date: Wed, 17 Apr 2002 14:25:23 +0000 Subject: [PATCH] Fixed crash in QZ_SetCaption() (thanks Darrell) --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40360 --- src/video/quartz/SDL_QuartzVideo.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/quartz/SDL_QuartzVideo.m b/src/video/quartz/SDL_QuartzVideo.m index 400139cb..bdd0b3a6 100644 --- a/src/video/quartz/SDL_QuartzVideo.m +++ b/src/video/quartz/SDL_QuartzVideo.m @@ -373,6 +373,7 @@ static void QZ_UnsetVideoMode (_THIS) { [ qz_window setDelegate:nil ]; [ qz_window close ]; [ qz_window release ]; + qz_window = nil; /* Release the OpenGL context */ if ( mode_flags & SDL_OPENGL ) -- 2.18.1