diff 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
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Sun Jan 04 15:57:16 2004 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Sun Jan 04 16:20:28 2004 +0000
@@ -1365,7 +1365,7 @@
                 SDL_RWops *rw;
                 SDL_Surface *tmp;
                 
-                rw = SDL_RWFromMem (QZ_ResizeIcon, sizeof(QZ_ResizeIcon));
+                rw = SDL_RWFromConstMem (QZ_ResizeIcon, sizeof(QZ_ResizeIcon));
                 tmp = SDL_LoadBMP_RW (rw, SDL_TRUE);
                                                                 
                 resize_icon = SDL_ConvertSurface (tmp, SDL_VideoSurface->format, SDL_SRCCOLORKEY);