comparison src/video/riscos/SDL_riscosvideo.c @ 1208:d90b362628ea

From: "alan buckley" <alan_baa@hotmail.com> Subject: Patch for RISC OS cursor palette handling in SDL Date: Mon, 07 Nov 2005 09:14:15 -0800 The mouse cursor palette was not correctly restored on RISC OS if the system was using anything but the default mouse colours. Additionally I've modifed the order the wait for vsync is called as it should be after the screen bank switching.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 23 Dec 2005 09:40:15 +0000
parents 974ba6ae0fa3
children c9b51268668f
comparison
equal deleted inserted replaced
1207:c9ec00d3e8bc 1208:d90b362628ea
148 device->ToggleFullScreen = NULL; /*RISCOS_ToggleFullScreen;*/ 148 device->ToggleFullScreen = NULL; /*RISCOS_ToggleFullScreen;*/
149 149
150 /* Set other entries for fullscreen mode */ 150 /* Set other entries for fullscreen mode */
151 FULLSCREEN_SetDeviceMode(device); 151 FULLSCREEN_SetDeviceMode(device);
152 152
153 /* Mouse pointer needs to use the WIMP ShowCursor version so
154 that it doesn't modify the pointer until the SDL Window is
155 entered or the application goes full screen */
156 device->ShowWMCursor = WIMP_ShowWMCursor;
157
153 return device; 158 return device;
154 } 159 }
155 160
156 VideoBootStrap RISCOS_bootstrap = { 161 VideoBootStrap RISCOS_bootstrap = {
157 RISCOSVID_DRIVER_NAME, "RISC OS video driver", 162 RISCOSVID_DRIVER_NAME, "RISC OS video driver",