I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.
The function SDL_ListModes() seems to ignore the larger monitor. It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)
What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.
See ya!On Tue, Oct 13, 2009 at 6:01 AM, Bob Ham wrote:
Hi there,
I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. ?I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.
The function SDL_ListModes() seems to ignore the larger monitor. ?It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)
What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.
BobOn Tue, 2009-10-13 at 08:49 -0700, Sam Lantinga wrote:
This is something that is planned for SDL 1.3.
See ya!
On Tue, Oct 13, 2009 at 6:01 AM, Bob Ham <@Bob_Ham> wrote:
Hi there,
I have an app that uses SDL_SetVideoMode() with SDL_FULLSCREEN to create
a fullscreen surface. I have two monitors, one larger than the other.
At the moment, this call to SDL_SetVideoMode() causes the surface to be
displayed fullscreen on the smaller monitor while a blank, managed
window the size of the smaller monitor displays on the larger monitor.
The function SDL_ListModes() seems to ignore the larger monitor. It
seems to return modes for the smaller monitor, plus one mode the size of
the whole virtual display (ie, smaller and larger monitors together.)
What I would like to do is to query a list of monitors, the modes that
each individual monitor supports, and then be able to create a
fullscreen surface for a specific monitor in a specific mode.