mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
hud hide mode fix
This commit is contained in:
parent
5eb240678e
commit
0a529ead69
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ void WorldRenderer::draw(const GfxContext& pctx, Camera* camera, bool hudVisible
|
|||
skybox->unbind();
|
||||
}
|
||||
|
||||
if (level->player->debug) {
|
||||
if (hudVisible && level->player->debug) {
|
||||
GfxContext ctx = pctx.sub();
|
||||
ctx.depthTest(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue