mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fix vid_showcurrentscaling so that it works even when vid_scalemode is 2 or greater.
This commit is contained in:
parent
e4fd6ee03f
commit
f71b5154c7
1 changed files with 2 additions and 2 deletions
|
@ -118,8 +118,8 @@ bool ViewportIsScaled43()
|
|||
|
||||
void R_ShowCurrentScaling()
|
||||
{
|
||||
int x1 = screen->GetClientWidth(), y1 = screen->GetClientHeight(), x2 = int(x1 * vid_scalefactor), y2 = int(y1 * vid_scalefactor);
|
||||
Printf("Current Scale: %f\n", (float)(vid_scalefactor));
|
||||
int x1 = screen->GetClientWidth(), y1 = screen->GetClientHeight(), x2 = ViewportScaledWidth(x1, y1), y2 = ViewportScaledHeight(x1, y1);
|
||||
Printf("Current vid_scalefactor: %f\n", (float)(vid_scalefactor));
|
||||
Printf("Real resolution: %i x %i\nEmulated resolution: %i x %i\n", x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue