diff src/video/quartz/SDL_QuartzVideo.m @ 359:f0e5198a1522

Fixed crash in QZ_SetCaption() (thanks Darrell)
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 Apr 2002 14:25:23 +0000
parents 1b89c9ca9246
children 19e73568a75c
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Tue Apr 16 16:45:23 2002 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Wed Apr 17 14:25:23 2002 +0000
@@ -373,6 +373,7 @@
         [ qz_window setDelegate:nil ];
         [ qz_window close ];
         [ qz_window release ];
+	qz_window = nil;
 
         /* Release the OpenGL context */
         if ( mode_flags & SDL_OPENGL )