Fixed crash in QZ_SetCaption() (thanks Darrell)

This commit is contained in:
Sam Lantinga
2002-04-17 14:25:23 +00:00
parent d4ec23066d
commit 9ed010f14c

View File

@@ -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 )