fix crosshair visibility
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user