diff --git a/test/monochromescreen/main.cpp b/test/monochromescreen/main.cpp index db3c35c..b5caa0e 100644 --- a/test/monochromescreen/main.cpp +++ b/test/monochromescreen/main.cpp @@ -138,7 +138,11 @@ int main() while(hgui_scene1_app_update(&g_hgui_scene1_app,NULL)) { i++; +#ifdef WIN32 + std::this_thread::sleep_for(std::chrono::milliseconds(1)); +#else std::this_thread::sleep_for(std::chrono::milliseconds(50)); +#endif // WIN32 } return 0; }