Mercurial > sdl-ios-xcode
diff src/video/riscos/SDL_riscosevents.c @ 955:d74fbf56f2f6
Date: Fri, 25 Jun 2004 13:29:15 +0100
From: "alan buckley"
Subject: Modification for RISC OS version of SDL
Ive attached a zip file with the changes to this email, it contains the
following:
The file sdldiff.txt is the output from cvs diff u. .
The directory thread/riscos contains all the new files to support threading.
Readme.riscos is a new readme file to add.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 17 Sep 2004 13:20:10 +0000 |
parents | b8d311d90021 |
children | 974ba6ae0fa3 |
line wrap: on
line diff
--- a/src/video/riscos/SDL_riscosevents.c Sat Sep 11 18:00:41 2004 +0000 +++ b/src/video/riscos/SDL_riscosevents.c Fri Sep 17 13:20:10 2004 +0000 @@ -76,18 +76,23 @@ void RISCOS_PollMouseHelper(_THIS, int fullscreen); +#ifdef DISABLE_THREADS extern void DRenderer_FillBuffers(); /* Timer running function */ extern void RISCOS_CheckTimer(); +#endif + void FULLSCREEN_PumpEvents(_THIS) { /* Current implementation requires keyboard and mouse polling */ RISCOS_PollKeyboard(); RISCOS_PollMouse(this); +#ifdef DISABLE_THREADS DRenderer_FillBuffers(); if (SDL_timer_running) RISCOS_CheckTimer(); +#endif } @@ -538,3 +543,4 @@ } /* end of SDL_riscosevents.c ... */ +