(svn r27579) -Change [FS#6402]: Performance improvement for dedicated servers by skipping drawing calls earlier in the process. (JGR)

This commit is contained in:
frosch
2016-05-22 11:30:25 +00:00
parent 6981fee459
commit 51e274a523
2 changed files with 8 additions and 0 deletions

View File

@@ -3031,6 +3031,10 @@ void UpdateWindows()
w->ProcessHighlightedInvalidations();
}
/* Skip the actual drawing on dedicated servers without screen.
* But still empty the invalidation queues above. */
if (_network_dedicated) return;
static int we4_timer = 0;
int t = we4_timer + 1;