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 committed 2021-05-05 09:32:24 +02:00
1 parent 820d520fc3
commit d8244120e9
3 files changed
+11

No files matched your search

+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;
}