src/video/dedicated_v.cpp
branchcustombridgeheads
changeset 5650 aefc131bf5ce
parent 5649 55c8267c933f
child 6254 abc6ad7c035c
equal deleted inserted replaced
5649:55c8267c933f 5650:aefc131bf5ce
   275 		cur_ticks = GetTime();
   275 		cur_ticks = GetTime();
   276 		if (cur_ticks >= next_tick || cur_ticks < prev_cur_ticks) {
   276 		if (cur_ticks >= next_tick || cur_ticks < prev_cur_ticks) {
   277 			next_tick = cur_ticks + 30;
   277 			next_tick = cur_ticks + 30;
   278 
   278 
   279 			GameLoop();
   279 			GameLoop();
   280 			_screen.dst_ptr = _dedicated_video_mem;
   280 			_screen.dst_ptr = (Pixel*)_dedicated_video_mem;
   281 			UpdateWindows();
   281 			UpdateWindows();
   282 		}
   282 		}
   283 		CSleep(1);
   283 		CSleep(1);
   284 	}
   284 	}
   285 }
   285 }