镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

slangp: support for scale_type = "original" - #20076

Open
kokoko3k wants to merge 9 commits into
libretro:masterfrom
kokoko3k:scale_to_original
Open

kokoko3k wants to merge 9 commits into
libretro:masterfrom
kokoko3k:scale_to_original

Conversation

@kokoko3k

@kokoko3k kokoko3k commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Description

scale_type = "original" support to slangp.

its purpose is to go back to the original core resolution later in the preset chain.

Tested vulkan and glcore personally, they works.
But i couldn't test d3d* and metal

Reviewers

@hizzlekizzle @HyperspaceMadness @warmenhoven

Comment thread gfx/drivers/gl2.c Outdated
break;

case RARCH_SCALE_ORIGINAL:
img_w = fbo_scale->scale_x * VIDEO_SCALE_W(orig_dims);

@Iniquitatis Iniquitatis Nov 12, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
img_w = fbo_scale->scale_x * VIDEO_SCALE_W(orig_dims);
img_w = VIDEO_SCALE_W(orig_dims) * fbo_scale->scale_x;

Just to be consistent.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, done.

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

Successfully merging this pull request may close these issues.

2 participants