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

software rendering scaling #345

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

software rendering scaling #345

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: HG 2.0
Reported for operating system, platform: Windows 7, x86_64

Comments on the original bug report:

On 2011-02-12 08:53:26 +0000, Vittorio Giovara wrote:

this code

SDL_Rect rect_left = { 0, 0, 1280, 720 };
SDL_RenderCopy(render, texture, &rect_left, NULL);

works fine using direct3d and opengl renders (that is the whole
texture is filled) but when software renderer is selected the texture
is not completely filled, but retains its previous dimensions

On 2011-02-16 03:26:18 +0000, Sam Lantinga wrote:

FYI, Ken checked in the first rev which should get you going. It doesn't handle clipping properly, but scaling should work again.

Thanks!

On 2011-03-21 10:13:25 +0000, Sam Lantinga wrote:

Clipping should be handled now as well:
http://hg.libsdl.org/SDL/rev/2b8e6d1e3817

Thanks!

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

1 participant