fix grid bounds calculation issue with float framebuffer
This commit is contained in:
@@ -351,7 +351,7 @@ void NodeCanvas::draw()
|
||||
for (auto& mode : Canvas::modes[(int)Canvas::kCanvasMode::Grid])
|
||||
mode->on_Draw(ortho_proj, proj, camera);
|
||||
|
||||
App::I.grid->draw_heightmap(proj, camera);
|
||||
App::I.grid->draw_heightmap(proj, camera, false);
|
||||
|
||||
for (auto& mode : *m_canvas->m_mode)
|
||||
mode->on_Draw(ortho_proj, proj, camera);
|
||||
|
||||
Reference in New Issue
Block a user