(svn r27579) -Change [FS#6402]: Performance improvement for dedicated servers by skipping drawing calls earlier in the process. (JGR)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user