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 - software rendering scaling
Summary: software rendering scaling
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.0
Hardware: x86_64 Windows 7
: P2 normal
Assignee: Ken Rogoway
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-12 08:53 UTC by Vittorio Giovara
Modified: 2011-03-21 10:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!