VirtualBox

Ignore:
Timestamp:
May 18, 2010 12:40:24 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61778
Message:

Additions: only check the return code of VbglGRPerform()

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Miniport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp

    r28800 r29625  
    133133        req2->bpp    = bpp;
    134134        rc = VbglGRPerform(&req2->header);
    135         if (RT_SUCCESS(rc) && RT_SUCCESS(req2->header.rc))
     135        if (RT_SUCCESS(rc))
    136136        {
    137137            bRC = req2->fSupported;
     
    153153
    154154            rc = VbglGRPerform(&req->header);
    155             if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc))
     155            if (RT_SUCCESS(rc))
    156156            {
    157157                bRC = req->fSupported;
     
    379379        rc = VbglGRPerform (&req->header);
    380380
    381         if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc))
     381        if (RT_SUCCESS(rc))
    382382        {
    383383            bRC = TRUE;
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r28800 r29625  
    33723372            {
    33733373                dprintf(("VBoxVideo::vboxVbvaEnable: rc = %Rrc!\n", rc));
    3374 
    3375                 if (RT_SUCCESS(rc))
    3376                 {
    3377                     rc = req->header.rc;
    3378                 }
    33793374            }
    33803375
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