Skip to content

effects/screenshot: Capture screenshot in paintScreen()

Vlad Zahorodnii requested to merge work/zzag/screenshot-paint-screen into master

It's not guaranteed that there will be current render target in postPaintScreen() as all painting have been completed. Furthermore, even the docs of the postPaintScreen() function indicate that no painting should be done there, you can do only cleanup things, e.g. schedule a repaint, etc. paintScreen() is a much safer place to capture screenshot.

Merge request reports

Loading