mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-12-03 17:52:19 +00:00
Remove win32 special case in idSession::Frame()
Since 1a25b165
not required anymore, all platforms behave the
same.
This commit is contained in:
parent
cdf6fa3702
commit
469031be21
1 changed files with 0 additions and 14 deletions
|
@ -2595,19 +2595,6 @@ void idSessionLocal::Frame() {
|
|||
minTic = latchedTicNumber;
|
||||
}
|
||||
|
||||
// FIXME: deserves a cleanup and abstraction
|
||||
#if defined( _WIN32 )
|
||||
// Spin in place if needed. The game should yield the cpu if
|
||||
// it is running over 60 hz, because there is fundamentally
|
||||
// nothing useful for it to do.
|
||||
while( 1 ) {
|
||||
latchedTicNumber = com_ticNumber;
|
||||
if ( latchedTicNumber >= minTic ) {
|
||||
break;
|
||||
}
|
||||
Sys_Sleep( 1 );
|
||||
}
|
||||
#else
|
||||
while( 1 ) {
|
||||
latchedTicNumber = com_ticNumber;
|
||||
if ( latchedTicNumber >= minTic ) {
|
||||
|
@ -2615,7 +2602,6 @@ void idSessionLocal::Frame() {
|
|||
}
|
||||
Sys_WaitForEvent( TRIGGER_EVENT_ONE );
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( authEmitTimeout ) {
|
||||
// waiting for a game auth
|
||||
|
|
Loading…
Reference in a new issue