Skip to content

Comments

Capture ImGui in screenshots#7236

Open
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:fix_imgui_lab_screenshots
Open

Capture ImGui in screenshots#7236
MjnMixael wants to merge 1 commit intoscp-fs2open:masterfrom
MjnMixael:fix_imgui_lab_screenshots

Conversation

@MjnMixael
Copy link
Contributor

@MjnMixael MjnMixael commented Feb 17, 2026

Fixes #7102

I'm not a graphics coder by any stretch so this one took some research. My reasoning is in the code comments. Open to feedback, of course.

I tested and got successful screenshots from the following scenarios in both Windowed and Full-Screen modes:

Retail UI states
ImGui states
Mainhall states
Mission states
Librocket states

@wookieejedi wookieejedi added the enhancement A new feature or upgrade of an existing feature to add additional functionality. label Feb 25, 2026
@wookieejedi
Copy link
Member

Only a handful of new code lines, nice! Alas I'm once again going to tag @BMagnu :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement A new feature or upgrade of an existing feature to add additional functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImgUi elements are not saved to screenshots

2 participants