diff options
| author | Merry <git@mary.rs> | 2022-08-29 21:16:21 +0100 |
|---|---|---|
| committer | Merry <git@mary.rs> | 2022-08-29 21:16:21 +0100 |
| commit | b0717607b2230034cfefc5940d2591d0ac7fbc64 (patch) | |
| tree | 1fc8fe8fc89dcf5af44538d4f69489aea9f3e741 /Source/Core/VideoCommon/TextureInfo.cpp | |
| parent | 3323375efba321249ece50e10d306f3acd221fe8 (diff) | |
TextureInfo: Reorder members in constructor
m_stage is initialized last
Diffstat (limited to 'Source/Core/VideoCommon/TextureInfo.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/TextureInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureInfo.cpp b/Source/Core/VideoCommon/TextureInfo.cpp index ff117c6926..1d3371f7fc 100644 --- a/Source/Core/VideoCommon/TextureInfo.cpp +++ b/Source/Core/VideoCommon/TextureInfo.cpp @@ -52,9 +52,9 @@ TextureInfo::TextureInfo(u32 stage, const u8* ptr, const u8* tlut_ptr, u32 addre TextureFormat texture_format, TLUTFormat tlut_format, u32 width, u32 height, bool from_tmem, const u8* tmem_odd, const u8* tmem_even, std::optional<u32> mip_count) - : m_stage(stage), m_ptr(ptr), m_tlut_ptr(tlut_ptr), m_address(address), m_from_tmem(from_tmem), + : m_ptr(ptr), m_tlut_ptr(tlut_ptr), m_address(address), m_from_tmem(from_tmem), m_tmem_odd(tmem_odd), m_texture_format(texture_format), m_tlut_format(tlut_format), - m_raw_width(width), m_raw_height(height) + m_raw_width(width), m_raw_height(height), m_stage(stage) { const bool is_palette_texture = IsColorIndexed(m_texture_format); if (is_palette_texture) |
