VirtualBox

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


Ignore:
Timestamp:
Mar 2, 2018 9:02:07 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121069
Message:

WDDM: fixed calculation of pitch for compressed texture formats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h

    r69976 r71167  
    656656        {
    657657            UINT Pitch = (w + 3) / 4; /* <- pitch size in blocks */
    658             Pitch *= 8;               /* <- pitch size in bytes */
     658            Pitch *= 16;              /* <- pitch size in bytes */
    659659            return Pitch;
    660660        }
Note: See TracChangeset for help on using the changeset viewer.

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