Login  Register

Re: b224 vs b226 depth buffer issue

Posted by Sven Gothel on Dec 15, 2010; 1:08pm
URL: https://forum.jogamp.org/b224-vs-b226-depth-buffer-issue-tp2091564p2091967.html

On Wednesday, December 15, 2010 13:50:05 BrickFarmer [via jogamp] wrote:
>
> I thought the code was designed to pick out the best bit depth on offer?  at least I saw something during my investigations that implied that, but I could be mistaken.

if you explicitly pass a CapsChooser .. that one may do that,
if not - and the native stuff recommends a format, we use that one.

the native recommendation is what the WGL/GLX ARB choose functions provide,
thought this matches the native behavior best.

but you may override it with your chooser ..

and maybe .. we just have a bug :)

if you like, your analysis is very welcome as always, sure thing

me trying to fix BITMAP windows bug (offscreen if no GLPbuffer is avail)

~Sven