OSMesaMakeCurrent not properly changing contexts
Submitted by James Burns
Assigned to mes..@..op.org
Description
Tracked this down to the check_compatible method in context.c. The depth bits comparison is failing as the OSMesa context creation is using a default of 31 bits for depth. The framebuffer/renderbuffer that is being compared against the context is made with 32 bits, and apparently can not be made with 31 bits (reference renderbuffer.c).
I was able to bypass the depth bit comparison in check_compatible and all works. I am not positive what effect removal of this comparison might have in the bigger scheme, so someone may want to look at this bypass or changing of the OSMESA default depth buffer size.
Version: 6.5