bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] Handle 15bpp modes in XGGLPixelFormat


From: Adam Fedor
Subject: Re: [patch] Handle 15bpp modes in XGGLPixelFormat
Date: Wed, 3 Mar 2004 10:46:39 -0700

Same for this one...

On Sun, 2004-02-29 at 14:38, Alexander Malmberg wrote:
> Spotted this while auditing. The important part, hidden in the
> whitespace fixes, is to handle 15 bpp in addition to 16 bpp, and to not > request 6 bits of blue in such modes (in all 16bpp modes I've ever seen,
> there are 6 bits of green).
>
> Requesting 5 bits of each component works for 15bpp, and since it's a
> minimum size, it should give us 6 bits of green in 16bpp modes.
>
> I can't test this (glX too old), so it would be nice if someone could
> confirm that it works.
>


Works for me. Both 15bpp and 16bpp.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]