mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +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);
|
updateElementsPosition(viewport);
|
||||||
|
|
||||||
uicamera->setFov(height);
|
uicamera->setFov(height);
|
||||||
|
uicamera->setAspectRatio(viewport.getRatio());
|
||||||
|
|
||||||
auto batch = ctx.getBatch2D();
|
auto batch = ctx.getBatch2D();
|
||||||
batch->begin();
|
batch->begin();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue