| 1106 | }; |
| 1107 | |
| 1108 | GraphicsMenu::GraphicsMenu( MenuBase* parent, const Sound::SoundEnginePtr& sound_engine, HostCommands& host_commands ) |
| 1109 | : MenuBase( parent, sound_engine ) |
| 1110 | , host_commands_(host_commands) |
| 1111 | , settings_(host_commands.GetSettings()) |
| 1112 | { |
| 1113 | current_renderer_= |
| 1114 | settings_.GetOrSetBool( SettingsKeys::software_rendering, true ) ? Renderer::Software : Renderer::OpenGL; |
| 1115 | |
| 1116 | current_num_rows_= current_renderer_ == Renderer::Software ? int(RowSoftware::NumRows) : int(RowOpenGL::NumRows); |
| 1117 | } |
| 1118 | |
| 1119 | GraphicsMenu::~GraphicsMenu() |
| 1120 | {} |
nothing calls this directly
no test coverage detected