OpenGL change, causes differences between mac & windows

I use a component transform to be able to scale the whole component GUI of a plugin.

Component- hierarchy

  Container-Component for scaling
     CustomEditorComponent(scaled, with openGL render attached)

I need the correct scaling factor for openGL, because I use multiple viewports and custom stuff.

I use getRenderingScale(), while on windows it includes the scale factor of the opengl-attached component, on Mac it does not.

Both behaviours is okay, but it should be the same on both platforms.

With JUCE6 the behaviour was the same with Mac and Windows (component scale factor was not included in getRenderingScale())

Thank you for reporting.

A fix was released on develop restoring the old, consistent behaviour

1 Like