Skip to content

Commit

Permalink
* Compile sleepMs on all platforms.
Browse files Browse the repository at this point in the history
Previously it was mistakenly included in an #ifdef WIN32 block.
  • Loading branch information
iProgramMC committed May 27, 2024
1 parent 420746a commit 064110f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/common/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ void DisableOpenGL(HWND hwnd, HDC hDC, HGLRC hRC)
ReleaseDC(hwnd, hDC);
}

#endif

void sleepMs(int ms)
{
#ifdef _WIN32
Expand All @@ -319,8 +321,6 @@ void sleepMs(int ms)
#endif
}

#endif

float Max(float a, float b)
{
if (a < b)
Expand Down

0 comments on commit 064110f

Please sign in to comment.