Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Taking a screenshot changes game resolution #49

Open
Compsogbrickus opened this issue Feb 24, 2023 · 7 comments
Open

Taking a screenshot changes game resolution #49

Compsogbrickus opened this issue Feb 24, 2023 · 7 comments

Comments

@Compsogbrickus
Copy link

I noticed that when taking a screenshot with this mod, the resolution of the game changes to whatever your screenshot size is until you resize the window. This is really noticeable if your screenshot resolution is set to something less than your screen size.

System details in case it matters: I am on an Intel MacBook Pro, using 1.19.3 with Fabric and not running Sodium or Optifine, have the game resolution at 3584 by 2240, and screenshot resolution set to 1920 by 1200. Taking a screenshot causes the game to resize to the bottom left quadrant of the game window.

@ramidzkh
Copy link
Owner

This should only last for the duration of the screenshot and return to whatever it was. Is it not fixing itself?

@Compsogbrickus
Copy link
Author

It is not fixing itself. This might be a mac-specific bug.

@ramidzkh
Copy link
Owner

Does the window itself go tiny, or the portion of the window the game renders in, or does the low resolution game stretch to your window, or something like that? Also, does this happen in fullscreen, windowered or both?

@Compsogbrickus
Copy link
Author

Looks like the portion of the window the game renders in goes tiny. Happens in fullscreen and windowed mode.

@Fuzss
Copy link

Fuzss commented Apr 5, 2024

Bildschirmfoto 2024-04-05 um 10 36 59

Still an issue in 1.20.4 on Macs.

A workaround is to simply resize the game window, the framebuffer size will match the window size again after that.

May be related to this:

Not having this issue with this mod, which is almost the same implementation as yours: https://github.com/pascallj/mineshot-revived-fabric

@heychazza
Copy link

Bildschirmfoto 2024-04-05 um 10 36 59 Still an issue in 1.20.4 on Macs.

A workaround is to simply resize the game window, the framebuffer size will match the window size again after that.

May be related to this:

Not having this issue with this mod, which is almost the same implementation as yours: https://github.com/pascallj/mineshot-revived-fabric

I'm also facing this issue

@CoocooFroggy
Copy link

I too have this issue. macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants