Changeset 81205 in vbox
- Timestamp:
- Oct 10, 2019 10:25:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp
r81080 r81205 4758 4758 4759 4759 Log(("vmsvga3dSetLightEnabled %x %d -> %d\n", cid, index, enabled)); 4760 AssertReturn(index < SVGA3D_MAX_LIGHTS, VERR_INVALID_PARAMETER); 4760 4761 4761 4762 int rc = vmsvga3dContextFromCid(pState, cid, &pContext); … … 4763 4764 4764 4765 /* Store for vm state save/restore */ 4765 if (index < SVGA3D_MAX_LIGHTS) 4766 pContext->state.aLightData[index].fEnabled = !!enabled; 4767 else 4768 AssertFailed(); 4766 pContext->state.aLightData[index].fEnabled = !!enabled; 4769 4767 4770 4768 hr = pContext->pDevice->LightEnable(index, (BOOL)enabled);
Note:
See TracChangeset
for help on using the changeset viewer.