Skip to content

Conversation

@trende2001
Copy link
Contributor

  • screenshot_highres now temporarily resizes Screen.Size to the requested output dimensions and flushes render targets
    to avoid stale buffers.
  • Restores previous screen size/custom size after capture

@trende2001 trende2001 changed the title Fix UI not being resized to screenshot_highres dimensions Fix UI not being resized to screenshot_highres dimensions on capture Dec 16, 2025
@lolleko lolleko self-assigned this Dec 16, 2025
@trende2001 trende2001 force-pushed the fix-screenshot-highres-ui-size branch 3 times, most recently from ae3796f to b19c6b8 Compare December 16, 2025 20:49
@trende2001 trende2001 requested a review from lolleko December 16, 2025 20:54
@trende2001 trende2001 force-pushed the fix-screenshot-highres-ui-size branch 2 times, most recently from f32fbc1 to d00e98d Compare December 16, 2025 20:57
@joshuascript
Copy link

I noticed this problem when using highres and one or two high res screenshots causes crashes due to running out of memory.

@trende2001 trende2001 force-pushed the fix-screenshot-highres-ui-size branch from 03c4d9c to 4b1092e Compare December 17, 2025 16:31
@lolleko lolleko added the triaged triaged pull-requests are replicated on the internal sbox repo label Dec 17, 2025
@sboxbot sboxbot added the accepted this pull request was accepted, hurrah! label Dec 17, 2025
@sboxbot
Copy link
Contributor

sboxbot commented Dec 17, 2025

This PR has been merged upstream.

@sboxbot sboxbot closed this Dec 17, 2025
@trende2001 trende2001 deleted the fix-screenshot-highres-ui-size branch January 6, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted this pull request was accepted, hurrah! triaged triaged pull-requests are replicated on the internal sbox repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants