Showing the changes to libraries/render/src/render/DrawStatus.cpp (1 of 13 files). Show all
Unified · Split
| @@ -19,7 +19,6 @@ · 18 unmodified lines | ||
| 19 | 19 | #include <RenderArgs.h> |
| 20 | 20 | |
| 21 | 21 | #include <gpu/Context.h> |
| 22 | −#include <gpu/DoInBatch.h> | |
| 23 | 22 | |
| 24 | 23 | #include "drawItemBounds_vert.h" |
| 25 | 24 | #include "drawItemBounds_frag.h" |
| @@ -127,7 +126,7 @@ void DrawStatus::run(const SceneContextPointer& sceneContext, const RenderContex · 101 unmodified lines | ||
| 127 | 126 | } |
| 128 | 127 | |
| 129 | 128 | // Allright, something to render let's do it |
| 130 | − doInBatch(args, [=](gpu::Batch& batch) { | |
| 129 | + doInBatch(args->_context, [=](gpu::Batch& batch) { | |
| 131 | 130 | glm::mat4 projMat; |
| 132 | 131 | Transform viewMat; |
| 133 | 132 | args->_viewFrustum->evalProjectionMatrix(projMat); |