VirtualBox

Ignore:
Timestamp:
Feb 27, 2014 12:28:55 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: correct 3D data clear

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_stream.c

    r50625 r50627  
    294294        for (hFb = CrPMgrFbGetFirstEnabled(); hFb; hFb = CrPMgrFbGetNextEnabled(hFb))
    295295        {
    296             CrFbRegionsClear(hFb);
     296            int rc = CrFbUpdateBegin(hFb);
     297            if (RT_SUCCESS(rc))
     298            {
     299                CrFbRegionsClear(hFb);
     300                CrFbUpdateEnd(hFb);
     301            }
     302            else
     303                WARN(("CrFbUpdateBegin failed %d", rc));
    297304        }
    298305    }
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