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.ka...@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>.
>
>
> Michalis
>
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus@lists.lazarus.**freepascal.org<Lazarus@lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to