Mercurial > sdl-ios-xcode
view src/video/x11/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 | 045f186426e1 |
line wrap: on
line source
## Makefile.am for SDL using the X11 video driver noinst_LTLIBRARIES = libvideo_x11.la libvideo_x11_la_SOURCES = $(X11_SRCS) # The SDL X11 video driver sources X11_SRCS = \ SDL_x11dga.c \ SDL_x11dga_c.h \ SDL_x11events.c \ SDL_x11events_c.h \ SDL_x11gamma.c \ SDL_x11gamma_c.h \ SDL_x11gl.c \ SDL_x11gl_c.h \ SDL_x11image.c \ SDL_x11image_c.h \ SDL_x11modes.c \ SDL_x11modes_c.h \ SDL_x11mouse.c \ SDL_x11mouse_c.h \ SDL_x11video.c \ SDL_x11video.h \ SDL_x11wm.c \ SDL_x11wm_c.h \ SDL_x11yuv.c \ SDL_x11yuv_c.h