Added idling with BIF_wait_for_statechange() in loop doing 'screen edge'

moving. Might fix issue reported by Campbell Barton, on low performance.
This commit is contained in:
Ton Roosendaal
2005-04-28 14:41:43 +00:00
parent b705434c72
commit ac1cccdf59

View File

@@ -2867,6 +2867,8 @@ static void moveareas(ScrEdge *edge)
else if (ELEM(event, SPACEKEY, RETKEY))
doit= 1;
}
else BIF_wait_for_statechange();
}
draw_front_xor_dirdist_line(dir, edge_position+delta, edge_start, edge_end);
glFlush();