[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenGL resolutions
On Thu, 16 Aug 2001, Mark Collins wrote:
> ----- Original Message -----
> From: "Katie Lucas" <katie@fysh.org>
> To: <linuxgames@sunsite.dk>
> Sent: Thursday, August 16, 2001 2:02 PM
> Subject: Re: OpenGL resolutions
>
>
> <snippety snip>
>
> > So what I probably want to be doing is to ask GLX what the render can
> > do and how much ram it's got, ask X11 what modes it can do, mix and
> > mash that lot up and pick something appropriate for the window size.
> >
> > And if the renderer is software, then I can just open either a 320x200
> > and let the user resize it or let the user spec it on the CLI or open
> > whatever they left it at last time they played..
>
> Or, you could play it safe and use XF86VidModeSwitchToMode() (see man page)
Isn't that an XF86 specific call?
How about using SDL instead - or does it require XF86 as well?
Mads
--
Mads Bondo Dydensborg. madsdyd@challenge.dk
You know you're a Linux geek when...
You find the thought of rebooting after installing a piece of software
utterly absurd.
- segfault