I am struggling to find a cross-platform solution for capturing a GL scene as a texture and use this in a shared context for preview purposes.
Basically I am using the technique described by Wes Smith, using copy_texture and shared_context:
This works fine on mac, but does not work when I try it in windows xp. If I go to fullscreen the preview doesn´t work anymore.
The only example using shared_context that works in full screen on windows for me is the jitter recipe nr 39 by Andrew Benson, but his example captures individual GL objects, not the render output.
So, is there a secret way of combining capturing GL render output to texture with shared_context that works in windows?