[Lazarus] TOpenGLControl.DepthBits default value
badsectoracula at gmail.com
Thu Jan 24 13:19:13 CET 2013
Ah, interesting. I probably had ChoosePixelFormat in mind which from what i
remember tries to get a close format and falls back to whatever is
available if it cannot find one.
On Wed, Jan 23, 2013 at 4:48 PM, Michalis Kamburelis <
michalis.kambi at gmail.com> wrote:
> Kostas Michalopoulos wrote:
>> AFAIK even if you ask for 24 and there is no support for it, you'll get
>> a 16bit buffer anyway.
> No. This is a required minimal value, at least for GLX and modern
> wglChoosePixelFormatARB. It was *possibly* treated in more relaxed way by
> the old ChoosePixelFormat, but you should not depend on that. Links to
> relevant docs are on http://wiki.freepascal.org/**Extending_TOpenGLControl<http://wiki.freepascal.org/Extending_TOpenGLControl>.
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus