Multi Renderer Code Working on Linux but fails on Windows

I am using SDL_CreateWindowFrom() to allow multiple renderers per window.

This allows me to have the window separated into logical areas/forms that don’t interfere with each other.

I use this in my TRS CoCo emulator to provide a Menu Area (window top) a Message Bar Area (window bottom) and a scalable main emulation Area (window centre).

This is working very well under Linux but under Windows the SDL_RenderPresent for any renderer clears the content of any other renderer.

Any ideas on getting it working under Windows appreciated!

I have provided some sample code if anyone is interested.

Multi Renderer Example


F1 - Draw Center Emulation Wnidow
F2 - Draw Top menu
F3 - Draw bottom Message Bar
F4 - Draw All three
X - Exit