UpdateCoroutines
This commit is contained in:
@@ -38,7 +38,7 @@ void CoResume(CoData *dat) {
|
|||||||
CoCurr = prev_curr;
|
CoCurr = prev_curr;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CoUpdate(Event *event) {
|
void UpdateCoroutines(Event *event) {
|
||||||
ProfileFunction();
|
ProfileFunction();
|
||||||
double start = GetTimeSeconds();
|
double start = GetTimeSeconds();
|
||||||
for (;ActiveCoroutines.len;) {
|
for (;ActiveCoroutines.len;) {
|
||||||
|
|||||||
@@ -678,7 +678,7 @@ void Update(Event event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
UpdateProcesses();
|
UpdateProcesses();
|
||||||
CoUpdate(&event);
|
UpdateCoroutines(&event);
|
||||||
|
|
||||||
|
|
||||||
For (Windows) {
|
For (Windows) {
|
||||||
|
|||||||
Reference in New Issue
Block a user