Properly initialized framecountx and re-added the startblit() / endblit() to the CPU thread, fixes renderer switches.

This commit is contained in:
OBattler
2021-03-30 03:49:46 +02:00
parent 345a61fa7c
commit 56d62de4fe
2 changed files with 3 additions and 0 deletions

View File

@@ -428,6 +428,7 @@ main_thread(void *param)
uint32_t old_time, new_time;
int drawits, frames;
framecountx = 0;
title_update = 1;
old_time = GetTickCount();
drawits = frames = 0;