Changeset 2429
- Timestamp:
- Feb 17, 2013, 7:38:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sys/timer.cpp
r2428 r2429 66 66 } 67 67 68 static floatWaitSeconds(float seconds)68 static void WaitSeconds(float seconds) 69 69 { 70 70 if (seconds > 0.0f) … … 85 85 } 86 86 87 static floatWaitSeconds(float seconds)87 static void WaitSeconds(float seconds) 88 88 { 89 89 if (seconds > 5e-4f) 90 90 Sleep((int)(seconds * 1e3f + 0.5f)); 91 return .0f; /* FIXME */92 91 } 93 92 … … 112 111 } 113 112 114 static floatWaitSeconds(float seconds)113 static void WaitSeconds(float seconds) 115 114 { 116 115 if (seconds > 0.0f) … … 137 136 } 138 137 139 static floatWaitSeconds(float seconds)138 static void WaitSeconds(float seconds) 140 139 { 141 140 if (seconds > 5e-4f)
Note: See TracChangeset
for help on using the changeset viewer.