src/video/quartz/SDL_QuartzVideo.m
changeset 1160 72c6c3e5bb85
parent 1144 509295d5a023
child 1181 49d3efec6651
equal deleted inserted replaced
1159:787b8d2c23e4 1160:72c6c3e5bb85
   485     }
   485     }
   486     /* Release window mode resources */
   486     /* Release window mode resources */
   487     else {
   487     else {
   488         
   488         
   489         [ qz_window close ];
   489         [ qz_window close ];
       
   490         [ qz_window release ];
   490         qz_window = nil;
   491         qz_window = nil;
   491         window_view = nil;
   492         window_view = nil;
   492         
   493 
   493         /* Release the OpenGL context */
   494         /* Release the OpenGL context */
   494         if ( mode_flags & SDL_OPENGL )
   495         if ( mode_flags & SDL_OPENGL )
   495             QZ_TearDownOpenGL (this);
   496             QZ_TearDownOpenGL (this);
   496     }
   497     }
   497 
   498