Mercurial > mplayer.hg
comparison libvo/vo_sdl.c @ 25397:084619331d92
Replace some more broken SYS_DARWIN preprocessor conditionals with __APPLE__.
author | diego |
---|---|
date | Sun, 16 Dec 2007 23:50:05 +0000 |
parents | c9e9ac2008c2 |
children | 02f913fa8ddd |
comparison
equal
deleted
inserted
replaced
25396:163348bb1e4a | 25397:084619331d92 |
---|---|
729 * In Mac OS X (and possibly others?) SDL_SetVideoMode() appears to | 729 * In Mac OS X (and possibly others?) SDL_SetVideoMode() appears to |
730 * destroy the datastructure previously retrived, so we need to | 730 * destroy the datastructure previously retrived, so we need to |
731 * re-assign it. The comment in sdl_close() seems to imply that we | 731 * re-assign it. The comment in sdl_close() seems to imply that we |
732 * should not free() anything. | 732 * should not free() anything. |
733 */ | 733 */ |
734 #ifdef SYS_DARWIN | 734 #ifdef __APPLE__ |
735 { | 735 { |
736 const SDL_VideoInfo *vidInfo = NULL; | 736 const SDL_VideoInfo *vidInfo = NULL; |
737 vidInfo = SDL_GetVideoInfo (); | 737 vidInfo = SDL_GetVideoInfo (); |
738 | 738 |
739 /* collect all fullscreen & hardware modes available */ | 739 /* collect all fullscreen & hardware modes available */ |