VirtualBox

Changeset 53348 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 19, 2014 10:53:51 AM (10 years ago)
Author:
vboxsync
Message:

VMSVGA3D: fixed assertion

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

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

    r53275 r53348  
    51775177
    51785178    Log(("vmsvga3dSetClipPlane cid=%x %d (%d,%d)(%d,%d)\n", cid, index, (unsigned)(plane[0] * 100.0), (unsigned)(plane[1] * 100.0), (unsigned)(plane[2] * 100.0), (unsigned)(plane[3] * 100.0)));
    5179     AssertReturn(index <= SVGA3D_CLIPPLANE_MAX, VERR_INVALID_PARAMETER);
     5179    AssertReturn(index < SVGA3D_CLIPPLANE_MAX, VERR_INVALID_PARAMETER);
    51805180
    51815181    if (    cid >= pState->cContexts
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp

    r53304 r53348  
    51365136
    51375137    Log(("vmsvga3dSetClipPlane %x %d (%d,%d)(%d,%d)\n", cid, index, (unsigned)(plane[0] * 100.0), (unsigned)(plane[1] * 100.0), (unsigned)(plane[2] * 100.0), (unsigned)(plane[3] * 100.0)));
    5138     AssertReturn(index <= SVGA3D_CLIPPLANE_MAX, VERR_INVALID_PARAMETER);
     5138    AssertReturn(index < SVGA3D_CLIPPLANE_MAX, VERR_INVALID_PARAMETER);
    51395139
    51405140    if (    cid >= pState->cContexts
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