Skip to content
Permalink
Browse files

GSdx: Variables should be initialized in the order in which they are …

…declared. (-Wreorder)
  • Loading branch information...
arcum42 committed May 12, 2019
1 parent 2d46bc6 commit 284880f768d26d9463079eeb7d24642bdc46376d
Showing with 3 additions and 3 deletions.
  1. +2 −2 plugins/GSdx/Renderers/HW/GSRendererHW.cpp
  2. +1 −1 plugins/GSdx/Renderers/HW/GSTextureCache.cpp
@@ -29,14 +29,14 @@ GSRendererHW::GSRendererHW(GSTextureCache* tc)
, m_custom_height(1024)
, m_reset(false)
, m_upscale_multiplier(1)
, m_disable_ts_half_bottom(false)
, m_tc(tc)
, m_src(nullptr)
, m_userhacks_tcoffset(false)
, m_userhacks_tcoffset_x(0)
, m_userhacks_tcoffset_y(0)
, m_channel_shuffle(false)
, m_lod(GSVector2i(0,0))
, m_src(nullptr)
, m_disable_ts_half_bottom(false)
{
m_mipmap = theApp.GetConfigI("mipmap_hw");
m_upscale_multiplier = theApp.GetConfigI("upscale_multiplier");
@@ -1554,12 +1554,12 @@ GSTextureCache::Source::Source(GSRenderer* r, const GIFRegTEX0& TEX0, const GIFR
: Surface(r, temp)
, m_palette_obj(nullptr)
, m_palette(nullptr)
, m_valid_rect(0, 0)
, m_target(false)
, m_complete(false)
, m_spritehack_t(false)
, m_p2t(NULL)
, m_from_target(NULL)
, m_valid_rect(0, 0)
{
m_TEX0 = TEX0;
m_TEXA = TEXA;

0 comments on commit 284880f

Please sign in to comment.
You can’t perform that action at this time.