I think that window.readPixels
must be called just before swapping buffers or it will read pixels from the front buffer (which may already be clear) rather than a buffer that’s full of visual content.
Can you use bitmapData.draw
instead?
I think that window.readPixels
must be called just before swapping buffers or it will read pixels from the front buffer (which may already be clear) rather than a buffer that’s full of visual content.
Can you use bitmapData.draw
instead?