hud hide mode fix
This commit is contained in:
parent
5eb240678e
commit
0a529ead69
@ -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…
x
Reference in New Issue
Block a user