src/video/quartz/SDL_QuartzVideo.m
changeset 359 f0e5198a1522
parent 347 1b89c9ca9246
child 390 19e73568a75c
equal deleted inserted replaced
358:1f148809d972 359:f0e5198a1522
   371         }
   371         }
   372         [ qz_window setContentView:nil ];
   372         [ qz_window setContentView:nil ];
   373         [ qz_window setDelegate:nil ];
   373         [ qz_window setDelegate:nil ];
   374         [ qz_window close ];
   374         [ qz_window close ];
   375         [ qz_window release ];
   375         [ qz_window release ];
       
   376 	qz_window = nil;
   376 
   377 
   377         /* Release the OpenGL context */
   378         /* Release the OpenGL context */
   378         if ( mode_flags & SDL_OPENGL )
   379         if ( mode_flags & SDL_OPENGL )
   379             QZ_TearDownOpenGL (this);
   380             QZ_TearDownOpenGL (this);
   380     }
   381     }