openGLContext gets blacked out on arm64 when setting version

Hi ! I’m debugging into an openGL issue in my plugin, where my openGL component is black until I hover over it, but only on arm64.

However, I created a dummy plugin with a blue rectangle openGL component, for testing. I noticed that on arm64, when I set the version

openGLContext.setOpenGLVersionRequired(juce::OpenGLContext::openGL3_2);

the rectangle dissappears and it becomes black. That doesn’t happen on the Intel mac though. If I remove the line that sets the openGL version, the problem is not there anymore. Why is this happening and what is the correct version of openGL for arm64? Also, is there anything else I should be aware regarding this situation?

Thanks!

It seems like this issue is gone after updating from JUCE 7.0.0 to JUCE 7.0.3