← Back to team overview

widelands-dev team mailing list archive

[Merge] lp:~widelands-dev/widelands/screenshot_from_backbuffer into lp:widelands

 

The proposal to merge lp:~widelands-dev/widelands/screenshot_from_backbuffer into lp:widelands has been updated.

Commit Message changed to:

- Write screenshot before swapping data into the backbuffer. Before this change, we used glReadPixels() which always reads the backbuffer, i.e. the last frame. Now we force a redraw when a screenshot is requested and save the screenshot from the freshly drawn backbuffer before it is swapped to the front.
- m_blub -> blub_ in class Graphic.
- removed Graphic::save_png, since it was a stateless wrapper for save_to_png().

For more details, see:
https://code.launchpad.net/~widelands-dev/widelands/screenshot_from_backbuffer/+merge/283043
-- 
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/screenshot_from_backbuffer into lp:widelands.


Follow ups