Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzWindow.m @ 1487:dc6b59e925a2
Cleaning up warnings on MacOS X
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 09 Mar 2006 06:33:21 +0000 |
parents | 376665398b25 |
children | ef4a796e7f24 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWindow.m Wed Mar 08 18:30:12 2006 +0000 +++ b/src/video/quartz/SDL_QuartzWindow.m Thu Mar 09 06:33:21 2006 +0000 @@ -144,7 +144,7 @@ int hOffset = newViewFrame.origin.x; - SDL_VideoSurface->pixels += (vOffset * SDL_VideoSurface->pitch) + hOffset * (device_bpp/8); + SDL_VideoSurface->pixels = (Uint8 *)SDL_VideoSurface->pixels + (vOffset * SDL_VideoSurface->pitch) + hOffset * (device_bpp/8); } UnlockPortBits ( thePort ); @@ -177,7 +177,7 @@ /* restore cached image, since it may not be current, post expose event too */ [ self restoreCachedImage ]; - //SDL_PrivateExpose (); + /*SDL_PrivateExpose ();*/ SDL_PrivateAppActive (1, SDL_APPACTIVE); }