diff options
author | 2016-04-18 20:37:14 +0200 | |
---|---|---|
committer | 2016-04-18 20:37:28 +0200 | |
commit | aef55ded1f4cfba8a51ff9f600463e73763f77c4 (patch) | |
tree | cfc088dbc8adb282c1b465bdc02ffc4cb7780a06 /src/osd/sdl/window.cpp | |
parent | 386d141389a24dbee364bf17a381728d4e7dc826 (diff) |
soft is hard and hard is soft. Two is one and one is two. No wonder
"-video accel" has substandard performance if opengl is disabled.
[Couriersud]
Diffstat (limited to 'src/osd/sdl/window.cpp')
-rw-r--r-- | src/osd/sdl/window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/osd/sdl/window.cpp b/src/osd/sdl/window.cpp index 9204891e010..a23ab3a7aae 100644 --- a/src/osd/sdl/window.cpp +++ b/src/osd/sdl/window.cpp @@ -354,7 +354,7 @@ void sdl_osd_interface::window_exit() switch(video_config.mode) { case VIDEO_MODE_SDL2ACCEL: - renderer_sdl2::exit(); + renderer_sdl1::exit(); break; case VIDEO_MODE_SOFT: renderer_sdl1::exit(); @@ -914,7 +914,6 @@ OSDWORK_CALLBACK( sdl_window_info::complete_create_wt ) * */ osd_printf_verbose("Enter sdl_info::create\n"); - if (window->renderer().has_flags(osd_renderer::FLAG_NEEDS_OPENGL)) { SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 ); |