VirtualBox

Changeset 54211 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 15, 2015 4:01:53 AM (10 years ago)
Author:
vboxsync
Message:

DevVGA=SVGA3d-ogl.cpp: AssertReturn -> AssertReturnStmt and free double buffer.

File:
1 edited

Legend:

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

    r54210 r54211  
    29902990
    29912991                    uDestOffset = pBoxes[i].x * pSurface->cbBlock + pBoxes[i].y * pMipLevel->cbSurfacePitch;
    2992                     AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock + (pBoxes[i].h - 1) * pMipLevel->cbSurfacePitch <= pMipLevel->cbSurface, VERR_INTERNAL_ERROR);
     2992                    AssertReturnStmt(   uDestOffset + pBoxes[i].w * pSurface->cbBlock + (pBoxes[i].h - 1) * pMipLevel->cbSurfacePitch
     2993                                     <= pMipLevel->cbSurface,
     2994                                     RTMemFree(pDoubleBuffer),
     2995                                     VERR_INTERNAL_ERROR);
    29932996
    29942997                    cbSurfacePitch = pMipLevel->cbSurfacePitch;
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