diff src/video/riscos/SDL_wimpvideo.c @ 1035:974ba6ae0fa3

Date: Wed, 26 Jan 2005 13:37:09 GMT From: Peter Naulls Subject: RISC OS SDL Patches Sam, I've attached a diff of the latest changes to libSDL for RISC OS support. These changes are by Alan Buckley and myself. The most significant of these are: Optimised assembler blit rountines - I've attached the file src/video/riscos/SDL_riscosASM.s which is needed for this. Move to using /dev/dsp instead of its own audio implementation. This means that src/audio/riscos/SDL_drenderer.c should be removed Typo fixes. Mainly correct spelling of "RISC OS", but some from elsewhere too.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 12 Feb 2005 18:01:31 +0000
parents b8d311d90021
children c9b51268668f
line wrap: on
line diff
--- a/src/video/riscos/SDL_wimpvideo.c	Sat Jan 29 09:58:40 2005 +0000
+++ b/src/video/riscos/SDL_wimpvideo.c	Sat Feb 12 18:01:31 2005 +0000
@@ -21,10 +21,10 @@
 */
 
 /*
-     File added by Alan Buckley (alan_baa@hotmail.com) for RISCOS compatability
+     File added by Alan Buckley (alan_baa@hotmail.com) for RISC OS compatability
 	 27 March 2003
 
-     Implements RISCOS wimp display.
+     Implements RISC OS Wimp display.
 */
 
 #include <stdio.h>
@@ -486,7 +486,7 @@
       WIMP_SetDeviceMode(this);
       WIMP_SetupPlotInfo(this);
 
-      riscos_backbuffer = 1;
+      if (riscos_backbuffer == 0) riscos_backbuffer = 1;
 
       if (buffer && old_alloc_bank) free(old_alloc_bank);