[client] added 1ms delay loop for incoming polling support

This commit is contained in:
Geoffrey McRae
2017-12-06 17:33:52 +11:00
parent c26842cb60
commit a1f574ff2f
4 changed files with 96 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <GL/glu.h>
#include "debug.h"
#include "delay.h"
#include "memcpySSE.h"
#include "KVMFR.h"
#include "ivshmem/ivshmem.h"
@@ -641,6 +642,8 @@ int run()
state.scaleX = 1.0f;
state.scaleY = 1.0f;
delay_calibrate();
if (SDL_Init(SDL_INIT_VIDEO) < 0)
{
DEBUG_ERROR("SDL_Init Failed");