Browse Source

Don't use Windows-specific Sleep function.

Darryl Pogue 13 years ago
parent
commit
e9f54e9547
  1. 4
      Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp

4
Sources/Plasma/PubUtilLib/plAudioCore/plSoundBuffer.cpp

@ -23,7 +23,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#include <process.h>
#include "hsTypes.h" #include "hsTypes.h"
#include "plSoundBuffer.h" #include "plSoundBuffer.h"
@ -166,7 +166,7 @@ plSoundBuffer::~plSoundBuffer()
{ {
while(!fLoaded) while(!fLoaded)
{ {
Sleep(10); hsSleep::Sleep(10);
} }
} }

Loading…
Cancel
Save