Part of output not visible when 2D drawing with OpenGL context

Hi reuk, I updated the example here: GitHub - drlight-code/juce-opengl-minimal

In the stripped down example, I can currently only observe the problem when rendering offscreen. In my application, where more things are being drawn, I could however also observe missing primitive parts using the “onscreen” method.

You will find three boolean variables to test the different variants, drawOnScreen, drawRect and useLayer. I currently observe the following:

useLayer == false && drawOnScreen == false:
missing parts of ellipse if drawRect is false
no output at all if drawRect it true

(useLayer || drawOnScreen) == true:
works as expected

I hope this helps, please ask if there should be anything unclear.

Thank you!