[SDL] maximum width and height

Solra Bizna sbizna at tejat.net
Wed Oct 31 10:54:50 PDT 2007


On 10/31/07, Terry Welsh <mogumbo at gmail.com> wrote:
> Well, the fullscreen resolution I get this way is 1280x1024 because
> that's what my display is running at when I start my app.  My CRT can
> also run at a much higher resolution, but it isn't detected by this
> method.  Is that what you were worried about?
Yeah, but that behavior seems a little weird to me. ListModes is
supposed to return the list of possible modes, sorted largest to
smallest. Maybe 1280x1024 is the largest your card can support at your
bit depth?
> Eventually I'll want the user to be able to change between different
> fullscreen resolutions, but just switching between windowed and
> fullscreen right now is very nice for development.
Anything goes if it's for "development" purposes, just remember to fix
it later. ;)

It's worth noting that GetVideoInfo will return the current "real"
video mode if you call it before a SetVideoMode.
-:sigma.SB



More information about the SDL mailing list