mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
ouch
svn-id: r7511
This commit is contained in:
parent
fae5ab677c
commit
af8cb44727
@ -52,7 +52,7 @@ OSystem *OSystem_SDL_create(int gfx_mode, bool full_screen) {
|
||||
}
|
||||
|
||||
OSystem *OSystem_SDL_Common::create(int gfx_mode, bool full_screen) {
|
||||
OSystem_SDL_Common *syst = OSystem_SDL_Common::create();
|
||||
OSystem_SDL_Common *syst = OSystem_SDL_Common::create_intern();
|
||||
|
||||
syst->init_intern(gfx_mode, full_screen);
|
||||
|
||||
|
@ -130,7 +130,7 @@ protected:
|
||||
OSystem_SDL_Common();
|
||||
virtual ~OSystem_SDL_Common();
|
||||
|
||||
static OSystem *create_intern();
|
||||
static OSystem_SDL_Common *create_intern();
|
||||
|
||||
void init_intern(int gfx_mode, bool full_screen);
|
||||
|
||||
@ -226,8 +226,6 @@ protected:
|
||||
void setup_icon();
|
||||
void kbd_mouse();
|
||||
void init_joystick() { _joystick = SDL_JoystickOpen(0); }
|
||||
|
||||
static OSystem_SDL_Common *create();
|
||||
};
|
||||
|
||||
// Auxillary class to (un)lock a mutex on the stack
|
||||
|
@ -48,7 +48,7 @@ protected:
|
||||
void hotswap_gfx_mode();
|
||||
};
|
||||
|
||||
OSystem *OSystem_SDL_Common::create_intern() {
|
||||
OSystem_SDL_Common *OSystem_SDL_Common::create_intern() {
|
||||
return new OSystem_SDL();
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ protected:
|
||||
void hotswap_gfx_mode();
|
||||
};
|
||||
|
||||
OSystem *OSystem_SDL_Common::create_intern() {
|
||||
OSystem_SDL_Common *OSystem_SDL_Common::create_intern() {
|
||||
return new OSystem_SDL_OpenGL();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user