mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix debug chunk borders render
This commit is contained in:
parent
60aa0fbcfc
commit
d8fe2f1531
1 changed files with 3 additions and 3 deletions
|
|
@ -477,6 +477,9 @@ void WorldRenderer::draw(
|
|||
renderTexts(ctx, camera, settings, hudVisible);
|
||||
renderLevel(ctx, camera, settings, delta, pause);
|
||||
// Debug lines
|
||||
if (hudVisible && player->debug) {
|
||||
renderDebugLines(ctx, camera, linesShader);
|
||||
}
|
||||
if (hudVisible) {
|
||||
renderLines(camera, linesShader, ctx);
|
||||
if (player->currentCamera == player->fpCamera) {
|
||||
|
|
@ -484,9 +487,6 @@ void WorldRenderer::draw(
|
|||
}
|
||||
}
|
||||
}
|
||||
if (hudVisible && player->debug) {
|
||||
renderDebugLines(wctx, camera, linesShader);
|
||||
}
|
||||
renderBlockOverlay(wctx, assets);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue