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 | #include <RenderArgs.h> | 19 | #include <RenderArgs.h> |
| 20 | 20 | ||
| 21 | #include <gpu/Context.h> | 21 | #include <gpu/Context.h> |
| 22 | #include <gpu/DoInBatch.h> | ||
| 23 | 22 | ||
| 24 | #include "drawItemBounds_vert.h" | 23 | #include "drawItemBounds_vert.h" |
| 25 | #include "drawItemBounds_frag.h" | 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 | // Allright, something to render let's do it | 128 | // Allright, something to render let's do it |
| 130 | doInBatch(args, [=](gpu::Batch& batch) { | 129 | doInBatch(args->_context, [=](gpu::Batch& batch) { |
| 131 | glm::mat4 projMat; | 130 | glm::mat4 projMat; |
| 132 | Transform viewMat; | 131 | Transform viewMat; |
| 133 | args->_viewFrustum->evalProjectionMatrix(projMat); | 132 | args->_viewFrustum->evalProjectionMatrix(projMat); |