SDL-2.0: where is SDL_FULLSCREEN?

Did a hg clone of SDL and tried building some previous projects:

getting SDL_FULLSCREEN undeclared.

So ran the following and do not see where SDL_FULLSCREEN is defined.

$ find SDL* -name “*.h” -exec grep -Hn “SDL_FULLSCREEN” {} ;
$ # no results

Did this change in 2.0?

It sure did. The video system is very different. Take a look at:

http://wiki.libsdl.org/moin.cgi/SDL_SetWindowFullscreen

Also, see the old SDL_compat.c file that was remove from mercurial
several months ago, it helped me transition:

http://hg.libsdl.org/SDL/file/4c64952a58fb/src/SDL_compat.c

DOn Fri, Apr 27, 2012 at 11:06 AM, greno wrote:

Did a hg clone of SDL and tried building some previous projects:

getting SDL_FULLSCREEN undeclared.

So ran the following and do not see where SDL_FULLSCREEN is defined.

$ find SDL* -name “*.h” -exec grep -Hn “SDL_FULLSCREEN” {} ;
$ # no results

Did this change in 2.0?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org