Mercurial > sdl-ios-xcode
view src/video/windx5/Makefile.am @ 1156:8521404a33c7
Date: Tue, 11 Oct 2005 16:58:12 +0300 (EEST)
From: =?ISO-8859-1?Q?Martin_Storsj=F6?= <martin@martin.st>
To: sdl@libsdl.org
Subject: [SDL] [PATCH] Use nanosleep on OS X
Hi,
The current version of SDL_Delay on OS X seems to always sleep at least 10
msec. OS X has nanosleep(), which performs shorter sleeps well. The
attached patch makes it use that one instead of select() as currently.
// Martin
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 11 Oct 2005 17:33:03 +0000 |
parents | 74212992fb08 |
children |
line wrap: on
line source
## Makefile.am for SDL using the DirectX video driver noinst_LTLIBRARIES = libvideo_windx5.la libvideo_windx5_la_SOURCES = $(DIRECTX_SRCS) # The SDL DirectX video driver sources DIRECTX_SRCS = \ SDL_dx5events.c \ SDL_dx5events_c.h \ SDL_dx5video.c \ SDL_dx5video.h \ SDL_dx5yuv.c \ SDL_dx5yuv_c.h \ directx.h