comparison src/video/SDL_video.c @ 1933:7ee5297340f7

Implemented Cocoa window support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jul 2006 05:03:02 +0000
parents 103c6fec2a60
children 83946ee0ff1f
comparison
equal deleted inserted replaced
1932:dc864bcabcc4 1933:7ee5297340f7
1280 _this->DestroyWindow(_this, window); 1280 _this->DestroyWindow(_this, window);
1281 } 1281 }
1282 if (window->title) { 1282 if (window->title) {
1283 SDL_free(window->title); 1283 SDL_free(window->title);
1284 } 1284 }
1285 SDL_free(window);
1286 if (j != display->num_windows - 1) { 1285 if (j != display->num_windows - 1) {
1287 SDL_memcpy(&display->windows[i], 1286 SDL_memcpy(&display->windows[i],
1288 &display->windows[i + 1], 1287 &display->windows[i + 1],
1289 (display->num_windows - i - 1) * sizeof(*window)); 1288 (display->num_windows - i - 1) * sizeof(*window));
1290 } 1289 }