aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alstream.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-12-04 19:09:48 -0800
committerChris Robinson <[email protected]>2015-12-04 19:09:48 -0800
commit482372577e6eaa9f4b857dc3a335e67efd1ee367 (patch)
tree0c025eae5873f32d1dcf641a675c3d95a4eb1dd3 /examples/alstream.c
parent4e6acfa0d549281efcbe8293d95b76a37deb370d (diff)
Avoid using usleep in the examples
We already have an al_nssleep wrapper in the common lib we can use.
Diffstat (limited to 'examples/alstream.c')
-rw-r--r--examples/alstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alstream.c b/examples/alstream.c
index 2972d375..63478d6a 100644
--- a/examples/alstream.c
+++ b/examples/alstream.c
@@ -318,7 +318,7 @@ int main(int argc, char **argv)
}
while(UpdatePlayer(player))
- Sleep(10);
+ al_nssleep(10000000);
/* All done with this file. Close it and go to the next */
ClosePlayerFile(player);