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 2382

Summary: Round or truncate issue when resizing the window.
Product: SDL Reporter: valentin.soudier
Component: renderAssignee: Sam Lantinga <slouken>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.1   
Hardware: x86_64   
OS: Mac OS X 10.6   

Description valentin.soudier 2014-02-04 15:06:31 UTC
Hi. 

The "SDL-generic" viewport resizing have a round or truncate issue. It isn't critical, but I post it here because every game maker will have the problem. 

If you resize the window and let SDL adjust the viewport, there will be some round problem visible here ==> http://www.youtube.com/watch?v=QUUTCma9HNI 
The original game size is 320x240, and the default window size is 640x480 : there is no problem. If I resize to a non-multiple size (maximize window in my case), some tiles are wrong placed/have a wrong size because of the round/truncate issue.
Comment 1 Sam Lantinga 2017-08-14 14:07:01 UTC
Marking for API review in SDL 2.1, thanks!