Showing the changes to libraries/input-plugins/src/input-plugins/ViveControllerManager.cpp (1 of 13 files). Show all
Unified · Split
| @@ -16,7 +16,6 @@ · 15 unmodified lines | ||
| 16 | 16 | #include "GeometryCache.h" |
| 17 | 17 | #include <gpu/Batch.h> |
| 18 | 18 | #include <gpu/Context.h> |
| 19 | −#include <gpu/DoInBatch.h> | |
| 20 | 19 | #include <DeferredLightingEffect.h> |
| 21 | 20 | #include <display-plugins/openvr/OpenVrHelpers.h> |
| 22 | 21 | #include "NumericalConstants.h" |
| @@ -174,7 +173,7 @@ void ViveControllerManager::updateRendering(RenderArgs* args, render::ScenePoint · 151 unmodified lines | ||
| 174 | 173 | UserInputMapper::PoseValue leftHand = _poseStateMap[makeInput(JointChannel::LEFT_HAND).getChannel()]; |
| 175 | 174 | UserInputMapper::PoseValue rightHand = _poseStateMap[makeInput(JointChannel::RIGHT_HAND).getChannel()]; |
| 176 | 175 | |
| 177 | − doInBatch(args, [=](gpu::Batch& batch) { | |
| 176 | + doInBatch(args->_context, [=](gpu::Batch& batch) { | |
| 178 | 177 | auto geometryCache = DependencyManager::get<GeometryCache>(); |
| 179 | 178 | geometryCache->useSimpleDrawPipeline(batch); |
| 180 | 179 | DependencyManager::get<DeferredLightingEffect>()->bindSimpleProgram(batch, true); |