We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1114

Summary: software rendering scaling
Product: SDL Reporter: Vittorio Giovara <vitto.giova>
Component: videoAssignee: Ken Rogoway <Ken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: x86_64   
OS: Windows 7   

Description Vittorio Giovara 2011-02-12 08:53:26 UTC
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
Comment 1 Sam Lantinga 2011-02-16 03:26:18 UTC
FYI, Ken checked in the first rev which should get you going.  It doesn't handle clipping properly, but scaling should work again.

Thanks!
Comment 2 Sam Lantinga 2011-03-21 10:13:25 UTC
Clipping should be handled now as well:
http://hg.libsdl.org/SDL/rev/2b8e6d1e3817

Thanks!