Mercurial > sdl-ios-xcode
diff src/video/SDL_video.c @ 4809:329708ffe2a7
Rejiggering the way shaped windows are created as preparation for OS X implementation. Fixed overdrive bug in test program that appears to have been introduced by someone other than myself.
author | Eli Gottlieb <eligottlieb@gmail.com> |
---|---|
date | Mon, 26 Jul 2010 17:27:04 -0400 |
parents | b6930aefd008 |
children | 7a602fd2121f |
line wrap: on
line diff
--- a/src/video/SDL_video.c Fri Jul 23 01:48:42 2010 -0400 +++ b/src/video/SDL_video.c Mon Jul 26 17:27:04 2010 -0400 @@ -105,6 +105,10 @@ static SDL_VideoDevice *_this = NULL; +SDL_VideoDisplay* SDL_ThisDisplay() { + return SDL_CurrentDisplay; +} + #define CHECK_WINDOW_MAGIC(window, retval) \ if (!_this) { \ SDL_UninitializedVideo(); \