GS-hw: Fix Wreorder-ctor warnings.

This commit is contained in:
lightningterror 2023-07-16 13:03:56 +02:00
parent 240586875c
commit e7e6f765b5
1 changed files with 2 additions and 2 deletions

View File

@ -5369,8 +5369,8 @@ void GSTextureCache::InjectHashCacheTexture(const HashCacheKey& key, GSTexture*
// GSTextureCache::Palette
GSTextureCache::Palette::Palette(u16 pal, bool need_gs_texture)
: m_pal(pal)
, m_tex_palette(nullptr)
: m_tex_palette(nullptr)
, m_pal(pal)
{
const u16 palette_size = pal * sizeof(u32);
m_clut = (u32*)_aligned_malloc(palette_size, 64);