소스 검색

Fix a Win32 timer regression bug.

legacy
Sam Hocevar sam 15 년 전
부모
커밋
9319141475
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/timer.cpp

+ 1
- 1
src/timer.cpp 파일 보기

@@ -69,7 +69,7 @@ private:
cycles0 = cycles;
towait = deltams - ret;
if (towait > 5e-4f) // FIXME: use native Win32 stuff
SDL_Delay((int)(towait * 1e3f + 0.5f));
SDL_Delay((int)(towait + 0.5f));
#else
/* The crappy SDL fallback */
Uint32 ticks = SDL_GetTicks();


불러오는 중...
취소
저장