Changeset 68458 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Aug 18, 2017 10:31:10 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/check3d.cpp
r64114 r68458 30 30 { 31 31 int rc; 32 HGCMCLIENTID cClientID;32 HGCMCLIENTID idClient; 33 33 CRVBOXHGCMGETCAPS caps; 34 34 LogFlowFunc(("\n")); … … 40 40 if (RT_FAILURE(rc)) 41 41 exit(1); 42 rc = VbglR3HGCMConnect("VBoxSharedCrOpenGL", & cClientID);42 rc = VbglR3HGCMConnect("VBoxSharedCrOpenGL", &idClient); 43 43 if (RT_FAILURE(rc)) 44 44 exit(1); 45 caps.hdr.result = VERR_WRONG_ORDER;46 caps.hdr.u32ClientID = cClientID;47 caps.hdr.u32Function = SHCRGL_GUEST_FN_GET_CAPS_LEGACY;48 caps.hdr.cParms = SHCRGL_CPARMS_GET_CAPS_LEGACY;49 45 46 VBGL_HGCM_HDR_INIT(&caps.hdr, idClient, SHCRGL_GUEST_FN_GET_CAPS_LEGACY, SHCRGL_CPARMS_GET_CAPS_LEGACY); 50 47 caps.Caps.type = VMMDevHGCMParmType_32bit; 51 48 caps.Caps.u.value32 = 0; … … 56 53 if (caps.Caps.u.value32 & CR_VBOX_CAP_HOST_CAPS_NOT_SUFFICIENT) 57 54 exit(1); 58 VbglR3HGCMDisconnect( cClientID);55 VbglR3HGCMDisconnect(idClient); 59 56 VbglR3Term(); 60 57 LogFlowFunc(("returning %Rrc\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.