VirtualBox

Changeset 94149 in vbox


Ignore:
Timestamp:
Mar 9, 2022 2:26:39 PM (3 years ago)
Author:
vboxsync
Message:

Devices/Graphics: staging buffer does not support DISCARD: bugref:9830

File:
1 edited

Legend:

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

    r94147 r94149  
    33173317        if (RT_SUCCESS(rc))
    33183318        {
     3319            /* The staging buffer does not allow D3D11_MAP_WRITE_DISCARD, so replace it.  */
     3320            if (d3d11MapType == D3D11_MAP_WRITE_DISCARD)
     3321                d3d11MapType = D3D11_MAP_WRITE;
     3322
    33193323            if (enmMapType == VMSVGA3D_SURFACE_MAP_READ)
    33203324            {
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