Minimise include polution from RenderState

This commit is contained in:
Scott Mansell
2023-01-28 15:13:49 +13:00
parent 2a2014af09
commit 8f5b196019
5 changed files with 18 additions and 4 deletions

View File

@ -60,7 +60,9 @@
std::unique_ptr<Renderer> g_renderer;
Renderer::Renderer() : m_last_xfb_width{MAX_XFB_WIDTH}, m_last_xfb_height{MAX_XFB_HEIGHT}
Renderer::Renderer()
: m_prev_efb_format{PixelFormat::INVALID_FMT},
m_last_xfb_width{MAX_XFB_WIDTH}, m_last_xfb_height{MAX_XFB_HEIGHT}
{
UpdateActiveConfig();
FreeLook::UpdateActiveConfig();