mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
fix: on_render called while paused
This commit is contained in:
parent
19c6a82ab2
commit
690b8f4807
5 changed files with 17 additions and 11 deletions
|
|
@ -71,7 +71,8 @@ public:
|
|||
void draw(
|
||||
const DrawContext& context,
|
||||
Camera* camera,
|
||||
bool hudVisible,
|
||||
bool hudVisible,
|
||||
bool pause,
|
||||
PostProcessing* postProcessing
|
||||
);
|
||||
void drawBorders(int sx, int sy, int sz, int ex, int ey, int ez);
|
||||
|
|
@ -83,7 +84,8 @@ public:
|
|||
void renderLevel(
|
||||
const DrawContext& context,
|
||||
Camera* camera,
|
||||
const EngineSettings& settings
|
||||
const EngineSettings& settings,
|
||||
bool pause
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue