Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.m @ 768:de1b2c3063b9
Max has been reworking this code so it works on MacOS X 10.1
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2004 16:20:28 +0000 |
parents | c5b2b6d2d1fe |
children | 68c8da837fc0 |
comparison
equal
deleted
inserted
replaced
767:d9e79e31a7b7 | 768:de1b2c3063b9 |
---|---|
1363 if (resize_icon == NULL) { | 1363 if (resize_icon == NULL) { |
1364 | 1364 |
1365 SDL_RWops *rw; | 1365 SDL_RWops *rw; |
1366 SDL_Surface *tmp; | 1366 SDL_Surface *tmp; |
1367 | 1367 |
1368 rw = SDL_RWFromMem (QZ_ResizeIcon, sizeof(QZ_ResizeIcon)); | 1368 rw = SDL_RWFromConstMem (QZ_ResizeIcon, sizeof(QZ_ResizeIcon)); |
1369 tmp = SDL_LoadBMP_RW (rw, SDL_TRUE); | 1369 tmp = SDL_LoadBMP_RW (rw, SDL_TRUE); |
1370 | 1370 |
1371 resize_icon = SDL_ConvertSurface (tmp, SDL_VideoSurface->format, SDL_SRCCOLORKEY); | 1371 resize_icon = SDL_ConvertSurface (tmp, SDL_VideoSurface->format, SDL_SRCCOLORKEY); |
1372 SDL_SetColorKey (resize_icon, SDL_SRCCOLORKEY, 0xFFFFFF); | 1372 SDL_SetColorKey (resize_icon, SDL_SRCCOLORKEY, 0xFFFFFF); |
1373 | 1373 |