#8262 closed patch
ALL: Two small fixes for the aspect ratio correction
Reported by: | eriktorbjorn | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Graphics |
Version: | Keywords: | ||
Cc: | Game: | Indiana Jones 4 |
Description
These patches should be perfectly safe, so please consider for 0.5.0.
The first patch takes aspect ratio correction into consideration when clearing the top of the screen when it's shaking. The only place I know where this makes any difference is during the end of FOA. Without the patch there's sometimes a line at the top that isn't cleared when the rest of the screen is.
The second patch simply makes makeRectStretchable() a no-op when the "fast and ugly" aspect ratio correction is enabled.
Ticket imported from: #774556. Ticket imported from: patches/367.
Attachments (3)
Change History (6)
by , 21 years ago
Attachment: | shake-aspect.diff added |
---|
by , 21 years ago
Attachment: | alignment.diff added |
---|
Experimental patch against a July 20 CVS snapshot
comment:1 by , 21 years ago
I'm attaching yet another patch, though I can't test if it really does what it's supposed to do.
It changes makeRectStretchable() in the "fast and nice" case so that the rectangle starts on an even X coordinate, and its width is even as well.
I'm hoping that the first change will ensure that memory access is aligned. The second change eliminates a special case in the interpolation function.
comment:2 by , 21 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Graphics |
---|---|
Game: | → Indiana Jones 4 |
Patch against a July 19 CVS snapshot