mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix crosshair visibility
This commit is contained in:
parent
4c8742ce46
commit
bccdeec7b8
1 changed files with 1 additions and 0 deletions
|
|
@ -603,6 +603,7 @@ void Hud::draw(const DrawContext& ctx){
|
|||
updateElementsPosition(viewport);
|
||||
|
||||
uicamera->setFov(height);
|
||||
uicamera->setAspectRatio(viewport.getRatio());
|
||||
|
||||
auto batch = ctx.getBatch2D();
|
||||
batch->begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue