]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix fullwindow aspect ratio.
authorToni Wilen <twilen@winuae.net>
Mon, 30 Jun 2025 15:53:23 +0000 (18:53 +0300)
committerToni Wilen <twilen@winuae.net>
Mon, 30 Jun 2025 15:53:23 +0000 (18:53 +0300)
od-win32/win32_scaler.cpp

index cd92f912853eddd62ed39c6b71d966cac72513a9..5253a2bb828749060d18a7f7aee6a4cdc8973d9c 100644 (file)
@@ -424,7 +424,7 @@ void getfilterdata(int monid, struct displayscale *ds)
                                ds->mode = 1;
                                cv = 2;
 
-                               dstratio = 1.0f * cw / ch;
+                               dstratio = 1.0f * (cw * xmult) / (ch * ymult);
 
                                width_aspect = cw;
                                height_aspect = ch;