summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index f1398eb..dd038ad 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -511,6 +511,7 @@ glm::vec3 unproject(glm::vec3 windowCoords) {
}
void Game_Tick(double delta) {
+ Pke_ResetBucket(pkeSettings.mem.bkt);
/*
* ECS_Tick() gets called first because it updates the public
* `EntitiesToBeRemoved` for all other ticks to use.
@@ -1114,6 +1115,8 @@ void RecordImGuiEditor() {
}
void Game_Init() {
+ pkeSettings.mem.bkt = Pke_BeginTransientBucket(1UL << 26);
+
for (long i = 0; i < consoleBufferCount; ++i) {
memset(consoleBuffer[i], '\0', consoleLineLength);
}