Make HUD draw over everything
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user