VirtualBox

Ignore:
Timestamp:
Oct 24, 2012 10:56:20 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
81607
Message:

crOpenGL: fix large buffer transfers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r43489 r43723  
    40154015                    Assert(pEscape->PrivateDriverDataSize > RT_OFFSETOF(VBOXDISPIFESCAPE_CRHGSMICTLCON_CALL, CallInfo));
    40164016                    int rc = VBoxMpCrCtlConCallUserData(&pDevExt->CrCtlCon, &pCall->CallInfo, pEscape->PrivateDriverDataSize - RT_OFFSETOF(VBOXDISPIFESCAPE_CRHGSMICTLCON_CALL, CallInfo));
    4017                     if (RT_SUCCESS(rc))
    4018                         Status = STATUS_SUCCESS;
    4019                     else
    4020                     {
     4017                    pEscapeHdr->u32CmdSpecific = (uint32_t)rc;
     4018                    Status = STATUS_SUCCESS; /* <- always return success here, otherwise the private data buffer modifications
     4019                                              * i.e. rc status stored in u32CmdSpecific will not be copied to user mode */
     4020                    if (!RT_SUCCESS(rc))
    40214021                        WARN(("VBoxMpCrUmCtlConCall failed, rc(%d)", rc));
    4022                         Status = STATUS_UNSUCCESSFUL;
    4023                     }
    40244022                }
    40254023                else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette