Make HUD draw over everything

Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
2025-08-10 13:07:20 +03:00
parent e9a31ac4a6
commit 39a27eaae6

View File

@@ -1994,6 +1994,7 @@ void render_3d(LunarWM *this, float /*dt*/)
}
if (IsTextureValid(this->renderer.hud_rt.texture)) {
rlDrawRenderBatchActive();
rlDisableDepthTest();
Vector3 camPos = this->renderer.camera.position;
@@ -2009,6 +2010,7 @@ void render_3d(LunarWM *this, float /*dt*/)
DrawBillboardNoShear(this->renderer.camera,
this->renderer.hud_rt.texture, center, heightMeters * 5, WHITE);
rlDrawRenderBatchActive();
rlEnableDepthTest();
}