mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
improve DRS image stability
Previously the width was made even to fix the garbage column at the side of the screen. This is now no longer necessary.
This commit is contained in:
parent
b12994bccc
commit
38c2afde62
@ -1035,7 +1035,6 @@ static void ResetResolution(int height)
|
|||||||
|
|
||||||
double vertscale = (double)actualheight / (double)unscaled_actualheight;
|
double vertscale = (double)actualheight / (double)unscaled_actualheight;
|
||||||
video.width = (int)(video.unscaledw * vertscale);
|
video.width = (int)(video.unscaledw * vertscale);
|
||||||
video.width = (video.width + 1) & ~1;
|
|
||||||
|
|
||||||
video.deltaw = (video.unscaledw - NONWIDEWIDTH) / 2;
|
video.deltaw = (video.unscaledw - NONWIDEWIDTH) / 2;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user