Fixed crash in QZ_SetCaption() (thanks Darrell)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40360
This commit is contained in:
Sam Lantinga 2002-04-17 14:25:23 +00:00
parent 9295a9bec1
commit 7db7d624e3

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 )