hud hide mode fix
This commit is contained in:
@@ -209,7 +209,7 @@ void WorldRenderer::draw(const GfxContext& pctx, Camera* camera, bool hudVisible
|
|||||||
skybox->unbind();
|
skybox->unbind();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (level->player->debug) {
|
if (hudVisible && level->player->debug) {
|
||||||
GfxContext ctx = pctx.sub();
|
GfxContext ctx = pctx.sub();
|
||||||
ctx.depthTest(true);
|
ctx.depthTest(true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user