Showing the changes to libraries/render-utils/src/HitEffect.cpp (1 of 13 files). Show all
Unified · Split
| @@ -26,7 +26,6 @@ · 25 unmodified lines | |||
| 26 | #include "GeometryCache.h" | 26 | #include "GeometryCache.h" |
| 27 | 27 | ||
| 28 | #include <gpu/Context.h> | 28 | #include <gpu/Context.h> |
| 29 | #include <gpu/DoInBatch.h> | ||
| 30 | 29 | ||
| 31 | #include "hit_effect_vert.h" | 30 | #include "hit_effect_vert.h" |
| 32 | #include "hit_effect_frag.h" | 31 | #include "hit_effect_frag.h" |
| @@ -64,7 +63,7 @@ void HitEffect::run(const render::SceneContextPointer& sceneContext, const rende · 31 unmodified lines | |||
| 64 | assert(renderContext->args); | 63 | assert(renderContext->args); |
| 65 | assert(renderContext->args->_viewFrustum); | 64 | assert(renderContext->args->_viewFrustum); |
| 66 | RenderArgs* args = renderContext->args; | 65 | RenderArgs* args = renderContext->args; |
| 67 | doInBatch(args, [=](gpu::Batch& batch) { | 66 | doInBatch(args->_context, [=](gpu::Batch& batch) { |
| 68 | 67 | ||
| 69 | glm::mat4 projMat; | 68 | glm::mat4 projMat; |
| 70 | Transform viewMat; | 69 | Transform viewMat; |