- // TODO the main run loop needs to be tested and pruned
- if (iupdate_sum > 0)
- {
- // Calculate a time step that spreads the updates out as much as possible
- // used because really quick updates are nearly wasted
- float time_step = ((float)(start - last_Block_Update)) / iupdate_sum / 1000;
+ updatesThread = SDL_CreateThread(startUpdateThread, NULL);
+ drawThread = SDL_CreateThread(startDrawThread, NULL);