I have main render loop in which initially OpenGL drawing is done on SDL window and after that the same window handle is pass to a DirectX device. This device is then doing rending on the same window.
Once I execute the program it will initially draw the OpenGL commands and then do DirectX drawing but overwrites the OpenGL work.
What I want to see is both drawings in parallel.