[SDL] depth buffer
Rasmus Neckelmann
neckelmann at gmail.com
Wed Nov 22 04:56:04 PST 2006
On 11/22/06, Ryan C. Gordon <icculus at icculus.org> wrote:
> > before calling SDL_SetVideoMode(). Note that a 32-bit depth-buffer is
> > requested - it's most likely not possible to get, but it assures that
> > you'll be supplied with the best possible bit-resolution (24 bits on
> > most recent video hardware).
>
> Not true: on X11, SDL_SetVideoMode() will fail if it can't get the
> requested depth buffer (or maybe just "at least the requested depth
> buffer"). SDL_GetError() will report "Couldn't find matching GLX visual".
Sorry for the mis-information... :)
I'm pretty sure you can do it on Win32 though, so that's probably what
have fooled me.
--
Regards,
Rasmus Neckelmann
More information about the SDL
mailing list