Changeset 54211 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Feb 15, 2015 4:01:53 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r54210 r54211 2990 2990 2991 2991 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); 2993 2996 2994 2997 cbSurfacePitch = pMipLevel->cbSurfacePitch;
Note:
See TracChangeset
for help on using the changeset viewer.