VirtualBox

Changeset 85156 in vbox


Ignore:
Timestamp:
Jul 9, 2020 5:29:38 PM (4 years ago)
Author:
vboxsync
Message:

Devices/Graphics: Release texture object on failure (reverted a part of r139108), ?bugref:9747

File:
1 edited

Legend:

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

    r85153 r85156  
    20162016                                                      &pSurface->bounce.pTexture,
    20172017                                                      NULL);
    2018                 AssertMsgReturnStmt(hr == D3D_OK,
    2019                     ("CreateTexture (systemmem) failed with %x\n", hr),
    2020                     D3D_RELEASE(pSurface->u.pTexture),
    2021                     VERR_INTERNAL_ERROR);
     2018
     2019                AssertMsgReturn(hr == D3D_OK, ("CreateTexture (systemmem) failed with %x\n", hr), VERR_INTERNAL_ERROR);
    20222020
    20232021                if (pSurface->formatD3D != pSurface->d3dfmtRequested)
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