Fixed crash in QZ_SetCaption() (thanks Darrell)
authorSam Lantinga <slouken@libsdl.org>
Wed, 17 Apr 2002 14:25:23 +0000
changeset 359 f0e5198a1522
parent 358 1f148809d972
child 360 8c1f8c4d2dd1
Fixed crash in QZ_SetCaption() (thanks Darrell)
src/video/quartz/SDL_QuartzVideo.m
--- 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 )