RISCOS: Use double buffering in full screen mode when V-sync is enabled
This commit is contained in:
parent
971148c9bd
commit
8adcc29df9
4 changed files with 92 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "backends/platform/sdl/riscos/riscos.h"
|
||||
#include "backends/saves/default/default-saves.h"
|
||||
#include "backends/events/riscossdl/riscossdl-events.h"
|
||||
#include "backends/graphics/riscossdl/riscossdl-graphics.h"
|
||||
#include "backends/fs/riscos/riscos-fs-factory.h"
|
||||
#include "backends/fs/riscos/riscos-fs.h"
|
||||
|
||||
|
@ -57,6 +58,10 @@ void OSystem_RISCOS::initBackend() {
|
|||
if (_eventSource == 0)
|
||||
_eventSource = new RISCOSSdlEventSource();
|
||||
|
||||
// Create the graphics manager
|
||||
if (!_graphicsManager)
|
||||
_graphicsManager = new RISCOSSdlGraphicsManager(_eventSource, _window);
|
||||
|
||||
// Create the savefile manager
|
||||
if (_savefileManager == 0) {
|
||||
Common::String savePath = "/<Choices$Write>/ScummVM/Saves";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue