VirtualBox

Changeset 85058 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 3, 2020 7:36:39 PM (4 years ago)
Author:
vboxsync
Message:

WDDM: fixed HSyncFreq calculation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPVidPn.cpp

    r84658 r85058  
    147147        pVsi->VSyncFreq.Denominator = 1000;
    148148        pVsi->PixelRate = pVsi->TotalSize.cx * pVsi->TotalSize.cy * VSync;
    149         pVsi->HSyncFreq.Numerator = (UINT)((pVsi->PixelRate / pVsi->TotalSize.cy) * 1000);
     149        pVsi->HSyncFreq.Numerator = (UINT)((VSync * pVsi->TotalSize.cy) * 1000);
    150150        pVsi->HSyncFreq.Denominator = 1000;
    151151    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette