mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Fix Wreorder-ctor warnings.
This commit is contained in:
parent
240586875c
commit
e7e6f765b5
|
@ -5369,8 +5369,8 @@ void GSTextureCache::InjectHashCacheTexture(const HashCacheKey& key, GSTexture*
|
||||||
// GSTextureCache::Palette
|
// GSTextureCache::Palette
|
||||||
|
|
||||||
GSTextureCache::Palette::Palette(u16 pal, bool need_gs_texture)
|
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);
|
const u16 palette_size = pal * sizeof(u32);
|
||||||
m_clut = (u32*)_aligned_malloc(palette_size, 64);
|
m_clut = (u32*)_aligned_malloc(palette_size, 64);
|
||||||
|
|
Loading…
Reference in New Issue