src/video/quartz/SDL_QuartzVideo.m
changeset 768 de1b2c3063b9
parent 761 c5b2b6d2d1fe
child 779 68c8da837fc0
--- 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);