SDL_SetVideoMode compatibility fix

Hi,

SDL_SetVideoMode(0,0,0,flags) used to be valid in SDL 1.2
Attached is a patch to replicate this behaviour in SDL 1.3

Cheers Stefan

BTW. Should I send patches to this list or create a entry in bugzilla?

-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_compat.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20090205/a3bf981c/attachment.bin

SDL_SetVideoMode(0,0,0,flags) used to be valid in SDL 1.2
Attached is a patch to replicate this behaviour in SDL 1.3

I put a variant of this patch into subversion.

Thanks!
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC