9 std::shared_ptr<IRenderConfig> IRenderConfigFactory::Clone(
10 std::shared_ptr<const IRenderConfig> other
12 return std::make_shared<IRenderConfig>(*other.get());
19 auto config = std::make_shared<IRenderConfig>();
21 if (renderer_name ==
"DirectDraw") {
24 if (renderer_name ==
"OpenGL") {
28 config->is_fullscreen = is_fullscreen;