Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 2 files). Show all
Unified · Split
| @@ -492,7 +492,7 @@ void GeometryCache::renderGrid(gpu::Batch& batch, int xDivisions, int yDivisions · 491 unmodified lines | ||
| 492 | 492 | |
| 493 | 493 | void GeometryCache::renderGrid(int x, int y, int width, int height, int rows, int cols, const glm::vec4& color, int id) { |
| 494 | 494 | gpu::Batch batch; |
| 495 | − renderGrid(x, y, width, height, rows, cols, color, id); | |
| 495 | + renderGrid(batch, x, y, width, height, rows, cols, color, id); | |
| 496 | 496 | gpu::GLBackend::renderBatch(batch); |
| 497 | 497 | } |
| 498 | 498 | |