forgot to remove debug
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@594 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
8c5072528f
commit
3c115aa783
1 changed files with 1 additions and 2 deletions
|
|
@ -312,7 +312,7 @@ void MwLoop(MwWidget handle) {
|
||||||
MwDispatchUserHandler(handle->tick_list[i], MwNtickHandler, NULL);
|
MwDispatchUserHandler(handle->tick_list[i], MwNtickHandler, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
more = over % wait;
|
more = over % (wait / 2);
|
||||||
t = (tick + wait - more) - (t2 = MwLLGetTick());
|
t = (tick + wait - more) - (t2 = MwLLGetTick());
|
||||||
if(t > 0) {
|
if(t > 0) {
|
||||||
MwLLSleep(t);
|
MwLLSleep(t);
|
||||||
|
|
@ -321,7 +321,6 @@ void MwLoop(MwWidget handle) {
|
||||||
} else {
|
} else {
|
||||||
tick = t2;
|
tick = t2;
|
||||||
over += -t;
|
over += -t;
|
||||||
printf("%d\n", over);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue