Change sleep function
This commit is contained in:
parent
3a19bf682b
commit
d77eced8c5
|
@ -1,6 +1,6 @@
|
||||||
//Copyright 2015 <>< Charles Lohr under the ColorChord License.
|
//Copyright 2015 <>< Charles Lohr under the ColorChord License.
|
||||||
|
|
||||||
#if defined(WIN32) || defined(USE_WINDOWS)
|
#if defined(WIN32) || defined(USE_WINDOWS)
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -417,7 +417,7 @@ int main(int argc, char ** argv)
|
||||||
CNFGClearFrame();
|
CNFGClearFrame();
|
||||||
CNFGDrawText( "Colorchord must be used with sound. Sound not available.", 10 );
|
CNFGDrawText( "Colorchord must be used with sound. Sound not available.", 10 );
|
||||||
CNFGSwapBuffers();
|
CNFGSwapBuffers();
|
||||||
sleep(1);
|
OGSleep(1);
|
||||||
} while( 1 );
|
} while( 1 );
|
||||||
|
|
||||||
nf = CreateNoteFinder( sd->sps );
|
nf = CreateNoteFinder( sd->sps );
|
||||||
|
|
Loading…
Reference in a new issue