[SDL] osx fullscreen sw vs hw

Jonathan Dearborn grimfang4 at gmail.com
Tue Dec 21 12:51:00 PST 2010


Software surfaces should be fine to use anywhere... and that looks like a
fun game.

Jonny D


On Tue, Dec 21, 2010 at 3:18 PM, jon <jon.rafkind at gmail.com> wrote:

> To set the fullscreen mode in my game I call
>
> screen = SDL_SetVideoMode(width, height, SCREEN_DEPTH, SDL_HWSURFACE |
> SDL_DOUBLEBUF | SDL_FULLSCREEN);
>
> whereas for windowed mode I call
>
> screen = SDL_SetVideoMode(width, height, SCREEN_DEPTH, SDL_SWSURFACE |
> SDL_RESIZABLE);
>
> On windows and linux both fullscreen and windowed mode work fine, but on
> osx 10.6 only windowed mode looks fine. In fullscreen mode I get weird
> colors: http://www.cs.utah.edu/~rafkind/tmp/paintown/ss.png
>
> Is SDL_SWSURFACE recommended in fullscreen mode? I'm using SDL 1.2.14.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20101221/93608d20/attachment-0008.htm>


More information about the SDL mailing list