VirtualBox

Ignore:
Timestamp:
Jan 18, 2022 11:31:09 AM (3 years ago)
Author:
vboxsync
Message:

Devices: VC++ 19.2 update 11 build adjustments (lossy floating point conversions). bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win-d3d9.cpp

    r93115 r93307  
    926926     */
    927927    float const xLeft   = -0.5f;
    928     float const xRight  = (cWidth - 1) - 0.5f;
     928    float const xRight  = (float)(cWidth - 1) - 0.5f;
    929929    float const yTop    = -0.5f;
    930     float const yBottom = (cHeight - 1) - 0.5f;
     930    float const yBottom = (float)(cHeight - 1) - 0.5f;
    931931
    932932    Vertex const aVertices[] =
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