Showing the changes to libraries/render/src/render/DrawStatus.cpp (1 of 48 files). Show all
Unified · Split
| @@ -205,7 +205,7 @@ void DrawStatus::run(const RenderContextPointer& renderContext, const Input& inI · 204 unmodified lines | ||
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | if (!_boundsBuffer) { |
| 208 | − _boundsBuffer = std::make_shared<gpu::Buffer>(sizeof(render::ItemBound)); | |
| 208 | + _boundsBuffer = std::make_shared<gpu::Buffer>(gpu::Buffer::ResourceBuffer, sizeof(render::ItemBound)); | |
| 209 | 209 | } |
| 210 | 210 | |
| 211 | 211 | // Alright, something to render let's do it |
| @@ -231,7 +231,7 @@ void DrawStatus::run(const RenderContextPointer& renderContext, const Input& inI · 19 unmodified lines | ||
| 231 | 231 | |
| 232 | 232 | if (_showNetwork || _showFade) { |
| 233 | 233 | if (!_instanceBuffer) { |
| 234 | − _instanceBuffer = std::make_shared<gpu::Buffer>(); | |
| 234 | + _instanceBuffer = std::make_shared<gpu::Buffer>(gpu::Buffer::VertexBuffer); | |
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | struct InstanceData { |