mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
refactor
This commit is contained in:
parent
d189bdc107
commit
e06350915e
9 changed files with 284 additions and 236 deletions
|
|
@ -579,7 +579,7 @@ void Hud::draw(const GfxContext& ctx){
|
|||
(width-chsizex)/2, (height-chsizey)/2,
|
||||
chsizex, chsizey, 0,0, 1,1, 1,1,1,1
|
||||
);
|
||||
batch->render();
|
||||
batch->flush();
|
||||
}
|
||||
|
||||
// Delta-time visualizer
|
||||
|
|
@ -629,7 +629,7 @@ void Hud::draw(const GfxContext& ctx){
|
|||
}
|
||||
}
|
||||
grabbedItemView->setCoord(glm::vec2(Events::cursor));
|
||||
batch->render();
|
||||
batch->flush();
|
||||
}
|
||||
|
||||
bool Hud::isInventoryOpen() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue