refactor(templates,tests): make sync an extern instead of parameter to render

This is to be able to use CreateThread with su_render_song; let's worry about multicore rendering sometime in the future.
This commit is contained in:
vsariola
2021-03-16 23:38:45 +02:00
parent 8ef6de7ffd
commit 38c0cea40f
3 changed files with 20 additions and 24 deletions

View File

@ -41,11 +41,7 @@ int main(int argc, char* argv[]) {
su_load_gmdls();
#endif
#ifdef SU_SYNC
su_render_song(buf, syncBuf);
#else
su_render_song(buf);
#endif
#if defined (_WIN32)
CreateDirectory(actual_output_folder, NULL);