Ensure the rencache commands buffer is cleared on restart

Fix issue #176 but it should be tested more thoroughly.
This commit is contained in:
Francesco Abbate
2021-05-05 09:32:24 +02:00
parent 820d520fc3
commit d8244120e9
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -312,3 +312,7 @@ void rencache_end_frame(void) {
cells_prev = tmp;
command_buf_idx = 0;
}
void rencache_clear() {
command_buf_idx = 0;
}