--------------------------------- Config::InitRenderConfig Pass the graphics settings to the rendering configuration
| 115 | // Pass the graphics settings to the rendering configuration |
| 116 | // |
| 117 | void Config::InitRenderConfig() |
| 118 | { |
| 119 | if (m_HasRenderRef) |
| 120 | { |
| 121 | render::RenderingSystems::Instance()->SetGraphicsSettings(m_Settings.m_Graphics); |
| 122 | } |
| 123 | else |
| 124 | { |
| 125 | render::RenderingSystems::AddReference(m_Settings.m_Graphics); |
| 126 | m_HasRenderRef = true; |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | //--------------------------------- |
| 131 | // Config::Save |
no test coverage detected