[SDL] Open GL Surface

Jimmy jimmy at jimmysworld.org
Thu Apr 3 11:59:04 PST 2003


On Thu, 2003-04-03 at 11:38, Andy Ross wrote:
> Jimmy wrote:
> > Specifically, with the mask, loss and shifts actually reflect the
> > channel bit sizes of the GL display?
> 
> No, although they should be a best match.  Query them again after
> setting the video mode if you need to know exactly what you have.
> Hardware can have funny limitations (not supporting stencil except at
> 24 bit color depth, not supporting 16 bit Z depth except at 16 bit
> color depth, etc...).

> Andy

Ok, but if I'm reading you right, they WILL be accurate after the video
mode is set?  This is actually all I'm really looking for, so I can find
out if the number of bits per channel is what I actually requested.


-- 
Jimmy <jimmy at jimmysworld.org>
Jimmy's World.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030403/1add696f/attachment.pgp>


More information about the SDL mailing list