[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] SDL 1.2.10 video API enhancements



I noticed that pygame does not surface a couple of relatively recent SDL video API enhancements that are very useful when you're trying to respect the user's existing video settings.

The SDL_VideoInfo struct has some additional data members, in particular current_w and current_h

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fVideoInfo

SDL_SetVideoMode() width and height parameters may both be set to 0. It will then use the width and height of the currently set video mode, or the desktop mode if no mode has yet been set.

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode

Of course, including these will require at least SDL 1.2.10 The present dependencies ( http://www.pygame.org/ftp/win32-dependencies.zip) appear to reference 1.2.7 Are there any plans to move ahead to latest stable 1.2.11?


Regards,

--- Kevin