Commit 7db7d624 authored by Sam Lantinga's avatar Sam Lantinga

Fixed crash in QZ_SetCaption() (thanks Darrell)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40360
parent 9295a9be
...@@ -373,6 +373,7 @@ static void QZ_UnsetVideoMode (_THIS) { ...@@ -373,6 +373,7 @@ static void QZ_UnsetVideoMode (_THIS) {
[ qz_window setDelegate:nil ]; [ qz_window setDelegate:nil ];
[ qz_window close ]; [ qz_window close ];
[ qz_window release ]; [ qz_window release ];
qz_window = nil;
/* Release the OpenGL context */ /* Release the OpenGL context */
if ( mode_flags & SDL_OPENGL ) if ( mode_flags & SDL_OPENGL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment