Skip to content
Commit 6d20b977 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

effects/screenshot: Capture screenshot in paintScreen()

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.
parent 24eee2df
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment