fix crosshair
This commit is contained in:
parent
1ba5b0ce33
commit
e034bda477
@ -571,7 +571,7 @@ void Hud::draw(const DrawContext& ctx){
|
||||
|
||||
// Crosshair
|
||||
if (!pause && !inventoryOpen && !player->debug) {
|
||||
DrawContext chctx = ctx.sub();
|
||||
DrawContext chctx = ctx.sub(batch);
|
||||
chctx.setBlendMode(BlendMode::inversion);
|
||||
auto texture = assets->get<Texture>("gui/crosshair");
|
||||
batch->texture(texture);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user