Changeset 54582 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
- Timestamp:
- Mar 2, 2015 3:42:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r53894 r54582 1395 1395 break; 1396 1396 } 1397 1398 case SHCRGL_HOST_FN_SET_UNSCALED_HIDPI: 1399 { 1400 /* Verify parameter count and types. */ 1401 if (cParms != 1 1402 || paParms[0].type != VBOX_HGCM_SVC_PARM_PTR 1403 || paParms[0].u.pointer.size != sizeof(CRVBOXHGCMSETUNSCALEDHIDPIOUTPUT) 1404 || !paParms[0].u.pointer.addr) 1405 { 1406 WARN(("invalid parameter")); 1407 rc = VERR_INVALID_PARAMETER; 1408 break; 1409 } 1410 1411 CRVBOXHGCMSETUNSCALEDHIDPIOUTPUT *pData = (CRVBOXHGCMSETUNSCALEDHIDPIOUTPUT *)paParms[0].u.pointer.addr; 1412 crServerSetUnscaledHiDPI(pData->fUnscaledHiDPI); 1413 LogRel(("OpenGL: Set OpenGL scale policy on HiDPI displays (fUnscaledHiDPI=%d).\n", pData->fUnscaledHiDPI)); 1414 break; 1415 } 1416 1397 1417 default: 1398 1418 WARN(("svcHostCallPerform: unexpected u32Function %d", u32Function));
Note:
See TracChangeset
for help on using the changeset viewer.