mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-07 12:42:55 +00:00
fix: make hit outline width 1 pixel
This commit is contained in:
parent
e0aa739aac
commit
98c8d49eaf
|
|
@ -2481,7 +2481,7 @@ void LevelRenderer::renderHitOutline(std::shared_ptr<Player> player,
|
|||
|
||||
// draw hit outline
|
||||
RenderManager.StateSetColour(0.0f, 0.0f, 0.0f, 0.4f);
|
||||
RenderManager.StateSetLineWidth(2.0f);
|
||||
RenderManager.StateSetLineWidth(1.0f);
|
||||
|
||||
// hack
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue