– Re: Understanding issue with automatic buffer swapping
In Reply To
When you do manual buffer swapping I recommend looking into how to correctly handle framebuffers.
* make sure that you glClear to clear the buffers before rendering // clear depth/stencil/color contents
* make sure that you call glInvalidateFramebuffer after rendering before swapbuffers to improve performance and to prevent dirty buffers to presistent before the next frame // avoid storing the depth/stencil contents
I expect the artifacts seen on some of my devices are caused by missing calls for both.