Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 359:f0e5198a1522
Fixed crash in QZ_SetCaption() (thanks Darrell)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 17 Apr 2002 14:25:23 +0000 |
parents | 1b89c9ca9246 |
children | 19e73568a75c |
comparison
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 } |